summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2021-10-05 18:24:36 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2021-10-25 08:42:19 +0200
commitd74d0ce5bcd61a1cadb8e6ae3ec23c29b2288b37 (patch)
tree71bd315d0fc7daef8d0618b700a10b8d7054ba87 /fs/gfs2/glock.c
parent3278b977c9c4c51a4e5e04fb40a991fb28edc2b7 (diff)
downloadlinux-d74d0ce5bcd61a1cadb8e6ae3ec23c29b2288b37.tar.bz2
gfs2: Remove 'first' trace_gfs2_promote argument
Remove the 'first' argument of trace_gfs2_promote: with GL_SKIP, the 'first' holder isn't the one that instantiates the glock (gl_instantiate), which is what the 'first' flag was apparently supposed to indicate. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 7053628d129e..a5e197423460 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -518,12 +518,12 @@ restart:
}
}
set_bit(HIF_HOLDER, &gh->gh_iflags);
- trace_gfs2_promote(gh, 1);
+ trace_gfs2_promote(gh);
gfs2_holder_wake(gh);
goto restart;
}
set_bit(HIF_HOLDER, &gh->gh_iflags);
- trace_gfs2_promote(gh, 0);
+ trace_gfs2_promote(gh);
gfs2_holder_wake(gh);
continue;
}