summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_fstype.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2022-11-28 02:30:35 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2023-07-03 22:30:26 +0200
commit6c7410f44961cf72d49a18e455ad4ae833f6fb7c (patch)
treea3b4d28eb4cf3c28f2affc142c0989592589f4e4 /fs/gfs2/ops_fstype.c
parent5432af15f8772d5e1a44d59d6ffcd513da8436b4 (diff)
downloadlinux-stable-6c7410f44961cf72d49a18e455ad4ae833f6fb7c.tar.gz
linux-stable-6c7410f44961cf72d49a18e455ad4ae833f6fb7c.tar.bz2
linux-stable-6c7410f44961cf72d49a18e455ad4ae833f6fb7c.zip
gfs2: gfs2_freeze_lock_shared cleanup
All the remaining users of gfs2_freeze_lock_shared() set freeze_gh to &sdp->sd_freeze_gh and flags to 0, so remove those two parameters. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_fstype.c')
-rw-r--r--fs/gfs2/ops_fstype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index 24acd17e530c..9375409fd0c5 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -1267,7 +1267,7 @@ static int gfs2_fill_super(struct super_block *sb, struct fs_context *fc)
}
}
- error = gfs2_freeze_lock_shared(sdp, &sdp->sd_freeze_gh, 0);
+ error = gfs2_freeze_lock_shared(sdp);
if (error)
goto fail_per_node;