summaryrefslogtreecommitdiffstats
path: root/init/init_task.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-12-15 02:57:01 +0100
committerNeilBrown <neilb@suse.de>2015-02-05 23:32:56 +0100
commit6791875e2e5393845b9c781d2998481089735134 (patch)
treea89ef0e3fbd3de6ff0bfe6bf3496f281853ab08c /init/init_task.c
parentmd: move mddev_lock and related to md.h (diff)
downloadlinux-6791875e2e5393845b9c781d2998481089735134.tar.xz
linux-6791875e2e5393845b9c781d2998481089735134.zip
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>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions