From: NeilBrown Date: Tue, 3 Jul 2012 05:59:06 +0000 (+1000) Subject: md: support re-add of recovering devices. X-Git-Tag: v3.5-rc6~24^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f456309106e9657645c81bce1a6bb3230393564e;p=pandora-kernel.git md: support re-add of recovering devices. We currently only allow a device to be re-added if it appear to be in-sync. This is overly restrictive as it may be desirable to re-add a device that is in the middle of recovery. So remove the test for "InSync" - the test on rdev->raid_disk is sufficient to ensure that the re-add will succeed. Reported-by: Alexander Lyakas Tested-by: Alexander Lyakas Signed-off-by: NeilBrown --- Reading git-diff-tree failed