NeilBrown 84255d1018 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>
2008-05-24 09:56:09 -07:00
..
2008-05-19 17:56:10 -04:00
2008-05-20 14:52:25 -07:00
2008-05-05 15:08:38 -07:00
2008-05-20 16:44:43 +02:00
2008-05-20 13:31:54 -07:00
2008-05-20 13:31:55 -07:00
2008-04-29 08:06:18 -07:00
2008-05-21 16:55:59 -07:00
2008-05-21 16:56:00 -07:00
2008-05-21 16:55:59 -07:00
2008-05-20 13:31:56 -07:00
2008-04-23 21:25:35 -04:00
2008-05-20 13:31:55 -07:00
2008-04-24 23:57:33 +02:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00