summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/util.h
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/util.h
parent5432af15f8772d5e1a44d59d6ffcd513da8436b4 (diff)
downloadlinux-6c7410f44961cf72d49a18e455ad4ae833f6fb7c.tar.gz
linux-6c7410f44961cf72d49a18e455ad4ae833f6fb7c.tar.bz2
linux-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/util.h')
-rw-r--r--fs/gfs2/util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h
index 3291e33e81e9..cdb839529175 100644
--- a/fs/gfs2/util.h
+++ b/fs/gfs2/util.h
@@ -149,9 +149,7 @@ int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function,
extern int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
bool verbose);
-extern int gfs2_freeze_lock_shared(struct gfs2_sbd *sdp,
- struct gfs2_holder *freeze_gh,
- int caller_flags);
+extern int gfs2_freeze_lock_shared(struct gfs2_sbd *sdp);
extern void gfs2_freeze_unlock(struct gfs2_holder *freeze_gh);
#define gfs2_io_error(sdp) \