aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2021-03-19 07:56:44 -0400
committerAndreas Gruenbacher <agruenba@redhat.com>2021-04-03 21:32:09 +0200
commitf68effb308c738da35cb5e750bf49bb0bb569492 (patch)
tree3b8d5e9e6ff956b339a956824ca2f24c50fe6483 /fs/gfs2/glops.c
parente7dfab8287bf5c5db3aec0f98e1d06d97ca1b7c7 (diff)
downloadlinux-f68effb308c738da35cb5e750bf49bb0bb569492.tar.gz
gfs2: Eliminate gh parameter from go_xmote_bh func
The only glock that uses go_xmote_bh glops function is the freeze glock which uses freeze_go_xmote_bh. It does not use its gh parameter, so this patch eliminates the unneeded parameter. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/glops.c')
-rw-r--r--fs/gfs2/glops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c
index 8e32d569c8bf0..469a9306eee44 100644
--- a/fs/gfs2/glops.c
+++ b/fs/gfs2/glops.c
@@ -597,7 +597,7 @@ static int freeze_go_sync(struct gfs2_glock *gl)
*
*/
-static int freeze_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh)
+static int freeze_go_xmote_bh(struct gfs2_glock *gl)
{
struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;
struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode);