diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-08-18 22:24:16 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-18 23:53:57 +0400 |
commit | 9223214e8d757663f366133ba5f9b58aa6b28efb (patch) | |
tree | b3977e067dbf3b2679c16f77c9e9025c7f71f26f /drivers/md/raid6altivec.uc | |
parent | 60d7603a18a5c07252e7aa0b0e2424315195d4dc (diff) | |
download | linux-9223214e8d757663f366133ba5f9b58aa6b28efb.tar.xz |
[PATCH] md: make sure mddev->bitmap_offset gets cleared between array instantiations.
... otherwise we might try to load a bitmap from an array which hasn't one.
The bug is that if you create an array with an internal bitmap, shut it down,
and then create an array with the same md device, the md drive will assume it
should have a bitmap too. As the array can be created with a different md
device, it is mostly an inconvenience. I'm pretty sure there is no risk of
data corruption.
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>
Diffstat (limited to 'drivers/md/raid6altivec.uc')
0 files changed, 0 insertions, 0 deletions