md: Correctly handle device removal via sysfs
authorMaciej Trela <Maciej.Trela@intel.com>
Wed, 14 Apr 2010 06:58:16 +0000 (16:58 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:48 +0000 (15:27 +1000)
Writing "none" to "../md/dev-xx/slot" removes that device
from being an active part of the array, but it didn't
set ->raid_disk to -1 to record this fact.

Signed-off-by: Maciej Trela <Maciej.Trela@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found