Files
linux/fs
Wu Bo 4ad5f9a710 ceph: fix double unlock in handle_cap_export()
[ Upstream commit 4d8e28ff31 ]

If the ceph_mdsc_open_export_target_session() return fails, it will
do a "goto retry", but the session mutex has already been unlocked.
Re-lock the mutex in that case to ensure that we don't unlock it
twice.

Signed-off-by: Wu Bo <wubo40@huawei.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-05-27 17:48:10 +02:00
..
2019-11-11 09:21:59 -05:00
2020-02-13 09:16:07 +01:00
2020-05-20 08:22:16 +02:00
2020-01-14 13:28:28 -08:00
2020-02-05 20:34:32 -08:00
2019-08-07 21:51:47 -04:00
2020-02-07 14:48:35 -05:00
2020-02-07 14:48:35 -05:00
2020-03-06 11:06:15 +01:00
2020-02-01 10:36:49 -08:00
2020-02-03 21:23:33 -05:00
2019-12-08 14:37:36 +01:00
2020-05-06 08:16:47 +02:00