md/raid5: allow removal for failed replacement devices.
authorNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:52 +0000 (10:17 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:52 +0000 (10:17 +1100)
commit657e3e4d88461a5ab660dd87f8f773f55e748da4
tree1eecf97f8e5eac95cf37b4f28e262a37dd3e116d
parent14a75d3e07c784c004b4b44b34af996b8e4ac453
md/raid5: allow removal for failed replacement devices.

Enhance raid5_remove_disk to be able to remove ->replacement
as well as ->rdev.

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