Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f8fe98e authored by Zhilong Liu's avatar Zhilong Liu Committed by Greg Kroah-Hartman
Browse files

md.c:didn't unlock the mddev before return EINVAL in array_size_store




[ Upstream commit b670883bb9e55ba63a278d83e034faefc01ce2cf ]

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>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b42b97a5
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