]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gfs2: Fix GLF_INVALIDATE_IN_PROGRESS flag clearing in do_xmote
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 2 Aug 2025 21:57:24 +0000 (23:57 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 12 Sep 2025 10:02:38 +0000 (12:02 +0200)
commit061df28b82af6b22fb5fa529a8f2ef00474ee004
treee2aa5a5cf2fac75e47826caacca3f4bad812f5a1
parent9b54770b68ae793a3a8d378be4cda2bb7be6c8cc
gfs2: Fix GLF_INVALIDATE_IN_PROGRESS flag clearing in do_xmote

Commit 865cc3e9cc0b ("gfs2: fix a deadlock on withdraw-during-mount")
added a statement to do_xmote() to clear the GLF_INVALIDATE_IN_PROGRESS
flag a second time after it has already been cleared.  Fix that.

Fixes: 865cc3e9cc0b ("gfs2: fix a deadlock on withdraw-during-mount")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Andrew Price <anprice@redhat.com>
fs/gfs2/glock.c