summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2018-03-02 06:59:44 -0700
committerBob Peterson <rpeterso@redhat.com>2018-03-08 09:26:20 -0700
commit9bc980cdb9ac2fd2e6c18ba5ba18a6909971a4a2 (patch)
tree734d5cec1c86345f35a1d7665161e91b1d8c7c30 /fs/gfs2/log.c
parent83998ccd9bfff881f04ce03f6964f8a83e6c5b54 (diff)
downloadlinux-9bc980cdb9ac2fd2e6c18ba5ba18a6909971a4a2.tar.bz2
GFS2: Make function gfs2_remove_from_ail static
Function gfs2_remove_from_ail is only ever used from log.c, so there is no reason to declare it extern. This patch removes the extern and declares it static. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r--fs/gfs2/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index cf6b46247df4..0248835625f1 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -73,7 +73,7 @@ unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct,
*
*/
-void gfs2_remove_from_ail(struct gfs2_bufdata *bd)
+static void gfs2_remove_from_ail(struct gfs2_bufdata *bd)
{
bd->bd_tr = NULL;
list_del_init(&bd->bd_ail_st_list);