Skip to content

Commit 061df28

Browse files
author
Andreas Gruenbacher
committed
gfs2: Fix GLF_INVALIDATE_IN_PROGRESS flag clearing in do_xmote
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> Reviewed-by: Andrew Price <anprice@redhat.com>
1 parent 9b54770 commit 061df28

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

fs/gfs2/glock.c

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

0 commit comments

Comments
 (0)