mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
[ Upstream commitbae3028799] In the error paths 'bad_stripe_cache' and 'bad_check_reshape', 'reconfig_mutex' is still held after raid_ctr() returns. Fixes:9dbd1aa3a8("dm raid: add reshaping support to the target") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
4b9f3ef1f3
commit
2e321ee96f
1 changed files with 7 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue