summaryrefslogtreecommitdiff
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-12-23 03:17:51 +0400
committerNeilBrown <neilb@suse.de>2011-12-23 03:17:51 +0400
commit476a7abb9b00adfe6bf70e82800367319ab8078b (patch)
tree92387465b8ded45abad9dbb7382136476a31e120 /drivers/md/md.h
parent915c420ddfa3eb22a0dbdb7a8e0ecf020c31961f (diff)
downloadlinux-476a7abb9b00adfe6bf70e82800367319ab8078b.tar.xz
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/md.h')
0 files changed, 0 insertions, 0 deletions