md: Don't clear bits in bitmap when writing to one device fails during recovery
commit1da6843b983e8bebefa78f15e433320c56c27477
authorNeil Brown <neilb@suse.de>
Sat, 11 Aug 2007 22:17:07 +0000 (12 00:17 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sat, 11 Aug 2007 22:17:07 +0000 (12 00:17 +0200)
tree19822cecaefd5a40f5e6948578e653002782e38d
parentb331e968763e6509255a26dcf8b40aaa17c9d02a
md: Don't clear bits in bitmap when writing to one device fails during recovery

Currently a device failure during recovery leaves bits set in the bitmap.
This normally isn't a problem as the offending device will be rejected because
of errors.  However if device re-adding is being used with non-persistent
bitmaps, this can be a problem.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
drivers/md/raid1.c