Goldwyn Rodrigues cb01c5496d Fix remove_and_add_spares removes drive added as spare in slot_store
Commit 2910ff17d154baa5eb50e362a91104e831eb2bb6
introduced a regression which would remove a recently added spare via
slot_store. Revert part of the patch which touches slot_store() and add
the disk directly using pers->hot_add_disk()

Fixes: 2910ff17d154 ("md: remove_and_add_spares() to activate specific
rdev")
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: NeilBrown <neilb@suse.com>
2015-12-18 15:19:16 +11:00
..
2015-10-31 19:06:01 -04:00
2014-01-14 23:23:03 -05:00
2015-10-31 19:06:01 -04:00
2015-10-31 19:06:01 -04:00
2015-10-31 19:05:59 -04:00
2015-10-31 19:05:59 -04:00
2015-10-31 19:06:01 -04:00
2015-10-31 19:05:59 -04:00
2015-08-13 12:31:57 -06:00
2015-10-24 17:16:19 +11:00
2015-12-18 15:19:16 +11:00
2015-08-13 12:31:57 -06:00
2015-11-04 21:12:47 -08:00
2015-11-04 21:12:47 -08:00
2015-11-01 13:48:29 +11:00