Skip to content

Commit f80d882

Browse files
author
Andreas Gruenbacher
committed
gfs2: Get rid of gfs2_glock_queue_put in signal_our_withdraw
In function signal_our_withdraw(), we are calling gfs2_glock_queue_put() in a context in which we are actually allowed to sleep, so replace that with a simple call to gfs2_glock_put(). Signed-off-by: Andreas Gruenbacher <[email protected]>
1 parent 3526490 commit f80d882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/gfs2/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ static void signal_our_withdraw(struct gfs2_sbd *sdp)
255255
gfs2_glock_nq(&sdp->sd_live_gh);
256256
}
257257

258-
gfs2_glock_queue_put(live_gl); /* drop extra reference we acquired */
258+
gfs2_glock_put(live_gl); /* drop extra reference we acquired */
259259
clear_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags);
260260

261261
/*

0 commit comments

Comments
 (0)