]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
md: Fix bug where spares don't always get rebuilt properly when they become live
authorNeil Brown <neilb@suse.de>
Mon, 26 Mar 2007 21:41:22 +0000 (23:41 +0200)
committerAdrian Bunk <bunk@stusta.de>
Mon, 26 Mar 2007 21:41:22 +0000 (23:41 +0200)
commitc920d11e0b9a2c894b99cf9a95cbd83f53c533eb
treebfe5ac8e8c02e2434cfebbfb4f9fc28e608ed046
parentd03e0c61f63e3c12a5b33403c895285f4e345c35
md: Fix bug where spares don't always get rebuilt properly when they become live

If save_raid_disk is >= 0, then the device could be a device that is
already in sync that is being re-added.  So we need to default this
value to -1.

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