From: NeilBrown Date: Mon, 15 Dec 2014 01:57:01 +0000 (+1100) Subject: md: make reconfig_mutex optional for writes to md sysfs files. X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~104^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6791875e2e53;p=pandora-kernel.git 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 --- Reading git-diff-tree failed