md/raid10: handle recovery of replacement devices.
authorNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:55 +0000 (10:17 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:55 +0000 (10:17 +1100)
commit24afd80d99f80a79d8824d2805114b8b067e9823
treec4ba36331ee56c64ba74a69ec5d0b56b6e860832
parent9ad1aefc8ae8d2e482b4cc4b7199e2354148bbdc
md/raid10: handle recovery of replacement devices.

If there is a replacement device, then recover to it,
reading from any drives - maybe the one being replaced, maybe not.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c