md/raid10: recognise replacements when assembling array.
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)
commit56a2559bb654ae2555b2ae3b29c837615d0c45c9
treef90a0d605260f668ad13af654f7951bcb27dfe64
parent4ca40c2ce099e4f1ce35445994f49836662596c8
md/raid10: recognise replacements when assembling array.

If a Replacement is seen, file it as such.

If we see two replacements (or two normal devices) for the one slot,
abort.

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