summaryrefslogtreecommitdiff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2024-03-30 06:51:41 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2024-05-29 15:34:55 +0200
commitc8cf2d9f189bf53beefd53b90cc65c556d16dd5a (patch)
tree3b2eecc2de35d8ce5e023c9ee8d1df1ac7a3ccda /fs/gfs2
parent97d6fdcd79752af8686ab58a0b9389ba80ae0fae (diff)
downloadlwn-c8cf2d9f189bf53beefd53b90cc65c556d16dd5a.tar.gz
lwn-c8cf2d9f189bf53beefd53b90cc65c556d16dd5a.zip
gfs2: Remove outdated comment in glock_work_func
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/glock.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index c583ba05e8f5..ef4fbb197c99 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1137,11 +1137,7 @@ static void glock_work_func(struct work_struct *work)
gfs2_glock_queue_work(gl, delay);
}
- /*
- * Drop the remaining glock references manually here. (Mind that
- * gfs2_glock_queue_work depends on the lockref spinlock begin held
- * here as well.)
- */
+ /* Drop the remaining glock references manually. */
gl->gl_lockref.count -= drop_refs;
if (!gl->gl_lockref.count) {
__gfs2_glock_put(gl);