md/raid10: fix assembling of arrays with replacement devices.
authorNeilBrown <neilb@suse.de>
Mon, 5 Mar 2012 06:48:12 +0000 (17:48 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 5 Mar 2012 23:12:45 +0000 (10:12 +1100)
commit7a90484825680e7831856105f5fef654e6c02701
tree24eacf1558541076767b59c0cbcc6b6835e35204
parentfae8cc5ed0714953b1ad7cf86f030d2177278424
md/raid10: fix assembling of arrays with replacement devices.

commit 56a2559bb654a (md/raid10: recognise replacements ...)
changed 'run' to set ->replacement or ->rdev depending on the
'Replacement' status if the device, but it didn't remove the
old unconditional setting of 'rdev'.  So it was largely ineffective.

So remove that now.

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