Skip to content
Commit 6791875e authored by NeilBrown's avatar NeilBrown
Browse files

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: default avatarNeilBrown <neilb@suse.de>
parent 5c47daf6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment