commit | b670883bb9e55ba63a278d83e034faefc01ce2cf | [log] [tgz] |
---|---|---|
author | Zhilong Liu <zlliu@suse.com> | Mon Apr 10 14:15:55 2017 +0800 |
committer | Shaohua Li <shli@fb.com> | Mon Apr 10 10:50:24 2017 -0700 |
tree | 9dd671e38507926c396fd20a32e095afdf944087 | |
parent | 065e519e71b2c1f41936cce75b46b5ab34adb588 [diff] |
md.c:didn't unlock the mddev before return EINVAL in array_size_store md.c: it needs to release the mddev lock before the array_size_store() returns. Fixes: ab5a98b132fd ("md-cluster: change array_sectors and update size are not supported") Signed-off-by: Zhilong Liu <zlliu@suse.com> Reviewed-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>