]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
md: unlock mddev_lock on an error path.
authorNeilBrown <neilb@suse.de>
Thu, 25 Jun 2015 07:06:40 +0000 (17:06 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 25 Jun 2015 07:14:09 +0000 (17:14 +1000)
commit9a8c0fa861e4db60409b4dda254cef5e17e4d43c
tree9b812ff7b225fa4eb1376f57c253225fb9a1327e
parentbd6919228d7e1867ae9e24ab27e3e4a366c87d21
md: unlock mddev_lock on an error path.

This error path retuns while still holding the lock - bad.

Fixes: 6791875e2e53 ("md: make reconfig_mutex optional for writes to md sysfs files.")
Cc: stable@vger.kernel.org (v4.0+)
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/md.c