summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-crypt.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-02-02 23:28:05 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-03 00:07:12 +0100
commit978f946bb628ef228e13aadf4d4255b8727c4fc3 (patch)
treef50dbda1faae2962fdd8c6517d4bc65d3c168862 /drivers/md/dm-crypt.c
parent[PATCH] md: Make sure array geometry changes persist with version-1 superblocks (diff)
downloadlinux-978f946bb628ef228e13aadf4d4255b8727c4fc3.tar.xz
linux-978f946bb628ef228e13aadf4d4255b8727c4fc3.zip
[PATCH] md: Don't remove bitmap from md array when switching to read-only
While a read-only array doesn't not really need a bitmap, we should not remove the bitmap when switching an array to read-only because a/ There is no code to re-add the bitmap which switching to read-write, b/ There is insufficient locking - the bitmap could be accessed while it is being removed. Cc: Reuben Farrelly <reuben-lkml@reub.net> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/dm-crypt.c')
0 files changed, 0 insertions, 0 deletions