]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] md: ensure bitmap_writeback_daemon handles shutdown properly.
authorNeilBrown <neilb@cse.unsw.edu.au>
Fri, 9 Sep 2005 23:23:57 +0000 (16:23 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 23:39:13 +0000 (16:39 -0700)
commit779b96ba333d59181b6dd2a62e10b3d3abc6f964
tree47544958a5564856d7225a2dc4040637d731c39d
parent391cfd948e9f5aa35a84978e6b1c3f8b467df503
[PATCH] md: ensure bitmap_writeback_daemon handles shutdown properly.

mddev->bitmap gets clearred before the writeback daemon is stopped.  So the
write_back daemon needs to be careful not to dereference the 'bitmap' if it is
NULL.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/bitmap.c