summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2014-09-23 08:20:11 +0200
committerDave Chinner <david@fromorbit.com>2014-09-23 08:20:11 +0200
commit7abbb8f928e5b7cea1edd077131b2ace665c6712 (patch)
treeb07218c2b86eca46814191fb70e8757696a3b9a2 /fs/xfs/xfs_bmap_util.c
parentxfs: xfs_buf_write_fail_rl_state can be static (diff)
downloadlinux-7abbb8f928e5b7cea1edd077131b2ace665c6712.tar.xz
linux-7abbb8f928e5b7cea1edd077131b2ace665c6712.zip
xfs: xfs_swap_extent_flush can be static
Fix sparse warning introduced by commit 4ef897a ("xfs: flush both inodes in xfs_swap_extents"). Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_bmap_util.c')
-rw-r--r--fs/xfs/xfs_bmap_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap_util.c b/fs/xfs/xfs_bmap_util.c
index 2f1e30d39a35..1cb345e7c181 100644
--- a/fs/xfs/xfs_bmap_util.c
+++ b/fs/xfs/xfs_bmap_util.c
@@ -1618,7 +1618,7 @@ xfs_swap_extents_check_format(
return 0;
}
-int
+static int
xfs_swap_extent_flush(
struct xfs_inode *ip)
{