Skip to content
Commit b670883b authored by Zhilong Liu's avatar Zhilong Liu Committed by Shaohua Li
Browse files

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: ab5a98b1 ("md-cluster: change array_sectors and update size are not supported")

Signed-off-by: default avatarZhilong Liu <zlliu@suse.com>
Reviewed-by: default avatarGuoqing Jiang <gqjiang@suse.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent 065e519e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment