From: NeilBrown Date: Tue, 22 May 2012 03:55:33 +0000 (+1000) Subject: md/raid10: Remove extras after reshape to smaller number of devices. X-Git-Tag: v3.5-rc1~110^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63aced61023a054825ffd6e33ac1ab99036dadd2;p=pandora-kernel.git md/raid10: Remove extras after reshape to smaller number of devices. When a reshape which reduced the number of devices finishes we must remove the extra devices. So ensure that raid10_remove_disk won't try to keep them, and have raid10_finish_reshape clear the 'in_sync' flag. Then remove_and_add_spares will be able to remove them. Reported-by: Hannes Reinecke Signed-off-by: NeilBrown --- Reading git-diff-tree failed