commit | 6791875e2e5393845b9c781d2998481089735134 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Dec 15 12:57:01 2014 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Feb 06 09:32:56 2015 +1100 |
tree | a89ef0e3fbd3de6ff0bfe6bf3496f281853ab08c | |
parent | 5c47daf6e76f657d961a96d89f6419fde8eda557 [diff] |
md: make reconfig_mutex optional for writes to md sysfs files. Rather than using mddev_lock() to take the reconfig_mutex when writing to any md sysfs file, we only take mddev_lock() in the particular _store() functions that require it. Admittedly this is most, but it isn't all. This also allows us to remove special-case handling for new_dev_store (in md_attr_store). Signed-off-by: NeilBrown <neilb@suse.de>