diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2024-04-05 13:47:51 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2024-04-09 18:35:58 +0200 |
commit | 5d9231111966b6c5a65016d58dcbeab91055bc91 (patch) | |
tree | ef17cdf5ae294389f6c07df33af7a2c78e12c01f /include/linux/bitmap-str.h | |
parent | 262ee3a07e98e8e56230547d4fe75d485348a55a (diff) |
gfs2: Fix "ignore unlock failures after withdraw"
Commit 3e11e53041502 tries to suppress dlm_lock() lock conversion errors
that occur when the lockspace has already been released.
It does that by setting and checking the SDF_SKIP_DLM_UNLOCK flag. This
conflicts with the intended meaning of the SDF_SKIP_DLM_UNLOCK flag, so
check whether the lockspace is still allocated instead.
(Given the current DLM API, checking for this kind of error after the
fact seems easier that than to make sure that the lockspace is still
allocated before calling dlm_lock(). Changing the DLM API so that users
maintain the lockspace references themselves would be an option.)
Fixes: 3e11e53041502 ("GFS2: ignore unlock failures after withdraw")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'include/linux/bitmap-str.h')
0 files changed, 0 insertions, 0 deletions