summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lops.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-12-22 21:37:35 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2020-12-31 15:53:35 +0100
commit2a6fe26ccf0bcebf469887bcc7c382d076751f4c (patch)
tree67a1671fe7a3da6d5f78372064c42eea25fd0a81 /fs/gfs2/lops.c
parentgfs2: move freeze glock outside the make_fs_rw and _ro functions (diff)
downloadlinux-2a6fe26ccf0bcebf469887bcc7c382d076751f4c.tar.xz
linux-2a6fe26ccf0bcebf469887bcc7c382d076751f4c.zip
gfs2: make gfs2_log_write_page static
Function gfs2_log_write_page is only used in lops.c, so make it static. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r--fs/gfs2/lops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c
index 3922b26264f5..9e9dd486bed9 100644
--- a/fs/gfs2/lops.c
+++ b/fs/gfs2/lops.c
@@ -369,7 +369,7 @@ static void gfs2_log_write_bh(struct gfs2_sbd *sdp, struct buffer_head *bh)
* the page may be freed at any time.
*/
-void gfs2_log_write_page(struct gfs2_sbd *sdp, struct page *page)
+static void gfs2_log_write_page(struct gfs2_sbd *sdp, struct page *page)
{
struct super_block *sb = sdp->sd_vfs;
u64 dblock;