mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
gfs2: Add proper lockspace locking
[ Upstream commit6ab26555c9] GFS2 has been calling functions like dlm_lock() even after the lockspace that these functions operate on has been released with dlm_release_lockspace(). It has always assumed that those functions would return -EINVAL in that case, but that was never guaranteed, and it certainly is no longer the case since commit4db41bf4f0("dlm: remove ls_local_handle from struct dlm_ls"). To fix that, add proper lockspace locking. Fixes:3e11e53041("GFS2: ignore unlock failures after withdraw") Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Andrew Price <anprice@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f955c063f6
commit
10648e179c
4 changed files with 56 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue