projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3526490
)
gfs2: Get rid of gfs2_glock_queue_put in signal_our_withdraw
author
Andreas Gruenbacher
<agruenba@redhat.com>
Fri, 15 Mar 2024 15:56:09 +0000
(16:56 +0100)
committer
Andreas Gruenbacher
<agruenba@redhat.com>
Tue, 9 Apr 2024 16:35:57 +0000
(18:35 +0200)
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>
fs/gfs2/util.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/util.c
b/fs/gfs2/util.c
index 963d77c4ca215bdcd843e4774d2aab827e520cab..0535a0206512ff4255f9d9be12395ac916821ea1 100644
(file)
--- 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);
/*