commit | 0f9457afe159aee56f80b20fff27a6af60f2b7a1 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Jun 25 17:06:40 2015 +1000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 03 09:29:13 2015 -0700 |
tree | 71833c5b60eb4200005989ce462c1210d4b1fda7 | |
parent | adeb846a6d8fdc8b9dc19a65393382838cad727f [diff] |
md: unlock mddev_lock on an error path. commit 9a8c0fa861e4db60409b4dda254cef5e17e4d43c upstream. This error path retuns while still holding the lock - bad. Fixes: 6791875e2e53 ("md: make reconfig_mutex optional for writes to md sysfs files.") Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>