Skip to content

Commit 6791875

Browse files
committed
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 <[email protected]>
1 parent 5c47daf commit 6791875

File tree

2 files changed

+316
-164
lines changed

2 files changed

+316
-164
lines changed

0 commit comments

Comments
 (0)