summaryrefslogtreecommitdiffstats
path: root/drivers/md/multipath.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-12-23 10:17:51 +1100
committerNeilBrown <neilb@suse.de>2011-12-23 10:17:51 +1100
commit476a7abb9b00adfe6bf70e82800367319ab8078b (patch)
tree92387465b8ded45abad9dbb7382136476a31e120 /drivers/md/multipath.c
parent915c420ddfa3eb22a0dbdb7a8e0ecf020c31961f (diff)
downloadblackbird-op-linux-476a7abb9b00adfe6bf70e82800367319ab8078b.tar.gz
blackbird-op-linux-476a7abb9b00adfe6bf70e82800367319ab8078b.zip
md: remove test for duplicate device when setting slot number.
When setting the slot number on a device in an active array we currently check that the number is not already in use. We then call into the personality's hot_add_disk function which performs the same test and returns the same error. Thus the common test is not needed. As we will shortly be changing some personalities to allow duplicates in some cases (to support hot-replace), the common test will become inconvenient. So remove the common test. Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/multipath.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud