diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-10-05 19:24:36 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-10-25 09:42:19 +0300 |
commit | d74d0ce5bcd61a1cadb8e6ae3ec23c29b2288b37 (patch) | |
tree | 71bd315d0fc7daef8d0618b700a10b8d7054ba87 /fs/gfs2/glock.c | |
parent | 3278b977c9c4c51a4e5e04fb40a991fb28edc2b7 (diff) | |
download | linux-d74d0ce5bcd61a1cadb8e6ae3ec23c29b2288b37.tar.xz |
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.c | 4 |
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; } |