diff options
author | Bob Peterson <rpeterso@redhat.com> | 2019-11-14 09:48:26 -0500 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2019-11-14 16:50:56 +0100 |
commit | feed98a8e5f3e54a8c41a3b26aa914db5d7e3c18 (patch) | |
tree | 0745a7f6bc4b62185f3b5f7a58e4caf697b87571 /fs/gfs2/log.c | |
parent | 19ebc050e48c3ae05b9c854001c0893127d118d6 (diff) | |
download | linux-feed98a8e5f3e54a8c41a3b26aa914db5d7e3c18.tar.gz linux-feed98a8e5f3e54a8c41a3b26aa914db5d7e3c18.tar.bz2 linux-feed98a8e5f3e54a8c41a3b26aa914db5d7e3c18.zip |
gfs2: make gfs2_log_shutdown static
Function gfs2_log_shutdown is only called from within log.c. This
patch removes the extern declaration and makes it static.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r-- | fs/gfs2/log.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index 162246fafc2e..4a7713c62f04 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c @@ -31,6 +31,8 @@ #include "dir.h" #include "trace_gfs2.h" +static void gfs2_log_shutdown(struct gfs2_sbd *sdp); + /** * gfs2_struct2blk - compute stuff * @sdp: the filesystem @@ -949,7 +951,7 @@ void gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) * */ -void gfs2_log_shutdown(struct gfs2_sbd *sdp) +static void gfs2_log_shutdown(struct gfs2_sbd *sdp) { gfs2_assert_withdraw(sdp, !sdp->sd_log_blks_reserved); gfs2_assert_withdraw(sdp, !sdp->sd_log_num_revoke); |