summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-05-24 00:04:32 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-24 20:56:09 +0400
commit84255d1018c50e72c71a49f359989597d53a3f53 (patch)
tree242c639d1e110f241e802e6b0a27a670deb8b174 /include/linux/raid
parent80119ef5c8153e0a6cc5edf00c083dc98a9bd348 (diff)
downloadlinux-84255d1018c50e72c71a49f359989597d53a3f53.tar.xz
md: fix possible oops when removing a bitmap from an active array
It is possible to add a write-intent bitmap to an active array, or remove the bitmap that is there. When we do with the 'quiesce' the array, which causes make_request to block in "wait_barrier()". However we are sampling the value of "mddev->bitmap" before the wait_barrier call, and using it afterwards. This can result in using a bitmap structure that has been freed. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions