diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2020-01-23 19:25:05 +0100 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2020-02-10 07:39:45 -0600 |
commit | d7e7ab3f1e2283ef956bb94fee09e80dbc1c46e9 (patch) | |
tree | a04b2970c83f816d8598a3730dbbcf45a67e38ba /fs/gfs2/util.c | |
parent | 8dc88ac68df89851488a60b8f1582fe466f41a64 (diff) | |
download | linux-d7e7ab3f1e2283ef956bb94fee09e80dbc1c46e9.tar.gz linux-d7e7ab3f1e2283ef956bb94fee09e80dbc1c46e9.tar.bz2 linux-d7e7ab3f1e2283ef956bb94fee09e80dbc1c46e9.zip |
gfs2: Remove usused cluster_wide arguments of gfs2_consist functions
These arguments are always passed as 0, and they are never evaluated.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/util.c')
-rw-r--r-- | fs/gfs2/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/util.c b/fs/gfs2/util.c index 322012e2064e..74247d686cf7 100644 --- a/fs/gfs2/util.c +++ b/fs/gfs2/util.c @@ -142,7 +142,7 @@ int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, * 0 if it was already withdrawn */ -int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, +int gfs2_consist_i(struct gfs2_sbd *sdp, const char *function, char *file, unsigned int line) { gfs2_lm(sdp, @@ -157,7 +157,7 @@ int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function, * 0 if it was already withdrawn */ -int gfs2_consist_inode_i(struct gfs2_inode *ip, int cluster_wide, +int gfs2_consist_inode_i(struct gfs2_inode *ip, const char *function, char *file, unsigned int line) { struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); @@ -178,7 +178,7 @@ int gfs2_consist_inode_i(struct gfs2_inode *ip, int cluster_wide, * 0 if it was already withdrawn */ -int gfs2_consist_rgrpd_i(struct gfs2_rgrpd *rgd, int cluster_wide, +int gfs2_consist_rgrpd_i(struct gfs2_rgrpd *rgd, const char *function, char *file, unsigned int line) { struct gfs2_sbd *sdp = rgd->rd_sbd; |