diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2024-03-15 16:56:09 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2024-04-09 18:35:57 +0200 |
commit | f80d882edcf242d0256d9e51b09d5fb7a3a0d3b4 (patch) | |
tree | 62a45537f67386baeb90a7742f64208d74bdb34c | |
parent | gfs2: Fix NULL pointer dereference in gfs2_log_flush (diff) | |
download | linux-f80d882edcf242d0256d9e51b09d5fb7a3a0d3b4.tar.xz linux-f80d882edcf242d0256d9e51b09d5fb7a3a0d3b4.zip |
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 <agruenba@redhat.com>
-rw-r--r-- | fs/gfs2/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/util.c b/fs/gfs2/util.c index 963d77c4ca21..0535a0206512 100644 --- a/fs/gfs2/util.c +++ b/fs/gfs2/util.c @@ -255,7 +255,7 @@ static void signal_our_withdraw(struct gfs2_sbd *sdp) gfs2_glock_nq(&sdp->sd_live_gh); } - gfs2_glock_queue_put(live_gl); /* drop extra reference we acquired */ + gfs2_glock_put(live_gl); /* drop extra reference we acquired */ clear_bit(SDF_WITHDRAW_RECOVERY, &sdp->sd_flags); /* |