Skip to content

Commit 625be2b

Browse files
author
Andreas Gruenbacher
committed
gfs2: Fix GLF_INVALIDATE_IN_PROGRESS flag clearing in do_xmote
JIRA: https://issues.redhat.com/browse/RHEL-116886 Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git Commit 865cc3e ("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: 865cc3e ("gfs2: fix a deadlock on withdraw-during-mount") Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> (cherry picked from commit 061df28)
1 parent e95e920 commit 625be2b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/gfs2/glock.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,8 +798,6 @@ __acquires(&gl->gl_lockref.lock)
798798
gl->gl_lockref.count++;
799799
gfs2_glock_queue_work(gl, GL_GLOCK_DFT_HOLD);
800800
return;
801-
} else {
802-
clear_bit(GLF_INVALIDATE_IN_PROGRESS, &gl->gl_flags);
803801
}
804802
}
805803

0 commit comments

Comments
 (0)