summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-path-selector.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-07-11 22:02:22 +1000
committerNeil Brown <neilb@suse.de>2008-07-11 22:02:22 +1000
commitdf5b20cf68f9c90204c5fd36b7b090635cee3cdf (patch)
treed3d5690609085352485e8ddcc1650833df4be224 /drivers/md/dm-path-selector.h
parent26ef379f53993b1da3c19b63257cd47e1d9cd672 (diff)
md: Better control of when do_md_stop is allowed to stop the array.
do_md_stop check the number of active users before allowing the array to be stopped. Two problems: 1/ it assumes the request is coming through an open file descriptor (via ioctl) so it allows for that. This is not always the case. 2/ it doesn't do the check it the array hasn't been activated. This is not good for cases when we use an inactive array to hold some devices in a container. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'drivers/md/dm-path-selector.h')
0 files changed, 0 insertions, 0 deletions