md/raid5: recognise replacements when assembling array.
authorNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:53 +0000 (10:17 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:53 +0000 (10:17 +1100)
commit17045f52ac76d9cd1a120e52af5d83b570af4ba8
tree2bbd692eaab68ffa60f3dcf6757752b9b89a7a9b
parentdd054fce88d33da1aa81d018db75b91b102a6959
md/raid5: 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.

Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c