diff options
author | Yu Kuai <yukuai3@huawei.com> | 2023-07-08 12:21:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-11 12:57:38 +0300 |
commit | a43c761a7e1cdc44c34e0d696d525d4ce3d6926b (patch) | |
tree | fbd17346be9e7b3b6a2be550e0d8bcf5e7f351a0 /drivers/md/dm-thin-metadata.h | |
parent | d82bfe9686f3f952f4bbee1e77ef4c81ce04fe79 (diff) | |
download | linux-a43c761a7e1cdc44c34e0d696d525d4ce3d6926b.tar.xz |
dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
[ Upstream commit bae3028799dc4f1109acc4df37c8ff06f2d8f1a0 ]
In the error paths 'bad_stripe_cache' and 'bad_check_reshape',
'reconfig_mutex' is still held after raid_ctr() returns.
Fixes: 9dbd1aa3a81c ("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>
Diffstat (limited to 'drivers/md/dm-thin-metadata.h')
0 files changed, 0 insertions, 0 deletions