summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2014-09-23 16:20:11 +1000
committerDave Chinner <david@fromorbit.com>2014-09-23 16:20:11 +1000
commit7abbb8f928e5b7cea1edd077131b2ace665c6712 (patch)
treeb07218c2b86eca46814191fb70e8757696a3b9a2 /fs
parent02cc18764c753befcdc163d1bc668a6599a54585 (diff)
downloadop-kernel-dev-7abbb8f928e5b7cea1edd077131b2ace665c6712.zip
op-kernel-dev-7abbb8f928e5b7cea1edd077131b2ace665c6712.tar.gz
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')
-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 2f1e30d..1cb345e 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)
{
OpenPOWER on IntegriCloud