]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] md: fix bug where spares don't always get rebuilt properly when they become...
authorNeilBrown <neilb@suse.de>
Sat, 28 Oct 2006 17:38:30 +0000 (10:38 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 28 Oct 2006 18:30:51 +0000 (11:30 -0700)
commit2b6e845986347ef86729e8651908af3e8a8441f5
treedc58ac77e7b7e6ee1e6c320019b07808d3e324a6
parentae74589cb381cc2838107f92d4e0e1f178c6825d
[PATCH] 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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c