md/raid10: allow removal of failed replacement devices.
authorNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:54 +0000 (10:17 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Dec 2011 23:17:54 +0000 (10:17 +1100)
commitc8ab903ea9d7309044910c33dc087418be84f9b5
tree1113f320a71e50bc5ed22b7f6ca0ec1800b37b08
parentabbf098e6e1e23d5d247b9eaaf325e67f67b0328
md/raid10: allow removal of failed replacement devices.

Enhance raid10_remove_disk to be able to remove ->replacement
as well as ->rdev

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