Skip to content
Commit bae30287 authored by Yu Kuai's avatar Yu Kuai Committed by Mike Snitzer
Browse files

dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths



In the error paths 'bad_stripe_cache' and 'bad_check_reshape',
'reconfig_mutex' is still held after raid_ctr() returns.

Fixes: 9dbd1aa3 ("dm raid: add reshaping support to the target")
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent d4a3806b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment