summaryrefslogtreecommitdiff
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2015-09-28 10:27:26 -0500
committerGoldwyn Rodrigues <rgoldwyn@suse.com>2015-10-12 01:33:58 -0500
commit2910ff17d154baa5eb50e362a91104e831eb2bb6 (patch)
tree746036180b2192079ee7451764437e144f7a3b04 /drivers/md/md.h
parentb8ca846e45197a2de829def27254f833a998723e (diff)
md: remove_and_add_spares() to activate specific rdev
remove_and_add_spares() checks for all devices to activate spare. Change it to activate a specific device if a non-null rdev argument is passed. remove_and_add_spares() can be used to activate spares in slot_store() as well. For hot_remove_disk(), check if rdev->raid_disk == -1 before calling remove_and_add_spares() Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions