diff options
| author | Wu Bo <[email protected]> | 2020-04-30 06:12:49 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2020-05-04 17:14:23 +0000 |
| commit | 4d8e28ff3106b093d98bfd2eceb9b430c70a8758 (patch) | |
| tree | e892c8e0b5ec7a78997cf977451f56f22527dbce /tools/perf/scripts/python | |
| parent | ceph: fix special error code in ceph_try_get_caps() (diff) | |
| download | kernel-4d8e28ff3106b093d98bfd2eceb9b430c70a8758.tar.gz kernel-4d8e28ff3106b093d98bfd2eceb9b430c70a8758.zip | |
ceph: fix double unlock in handle_cap_export()
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 <[email protected]>
Reviewed-by: "Yan, Zheng" <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
