diff options
author | NitzanMordhai <nmordech@redhat.com> | 2022-04-04 12:10:27 +0200 |
---|---|---|
committer | NitzanMordhai <nmordech@redhat.com> | 2022-04-13 06:20:23 +0200 |
commit | cf9054d933f2b3068b6367cb0d4ea8a5a975e3fa (patch) | |
tree | ec5b59aca31fb38909d309effb8d9a00ab98f47b /doc/README.md | |
parent | Merge pull request #45385 from zdover23/wip-doc-2022-03-14-os-recommendations (diff) | |
download | ceph-cf9054d933f2b3068b6367cb0d4ea8a5a975e3fa.tar.xz ceph-cf9054d933f2b3068b6367cb0d4ea8a5a975e3fa.zip |
cls_lock: check expired lock before unlock
Check if the lock was expired, if it is, unlock will return -ENOENT and not 0
that will cause the assert to error.
Fixes: https://tracker.ceph.com/issues/38357
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
Diffstat (limited to 'doc/README.md')
0 files changed, 0 insertions, 0 deletions