md/raid5: Properly remove excess drives after shrinking a raid5/6
authorNeilBrown <neilb@suse.de>
Thu, 13 Aug 2009 00:41:49 +0000 (10:41 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 13 Aug 2009 00:41:49 +0000 (10:41 +1000)
commit1a67dde0abba36421a1257d01ba9de2f6d1c160a
treec182c31207c46824097be7ce6b8813f05db4eb65
parenta639755cf885e437b2fe4168d35157fa90d530ab
md/raid5: Properly remove excess drives after shrinking a raid5/6

We were removing the drives, from the array, but not
removing symlinks from /sys/.... and not marking the device
as having been removed.

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