xfs: xfs_swap_extent_flush can be static
authorDave Chinner <david@fromorbit.com>
Tue, 23 Sep 2014 06:20:11 +0000 (16:20 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 23 Sep 2014 06:20:11 +0000 (16:20 +1000)
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>
fs/xfs/xfs_bmap_util.c

index 2f1e30d39a3540f9d545e8ab9c5afd52af0047a9..1cb345e7c1819936f9517dd76cc428077208a593 100644 (file)
@@ -1618,7 +1618,7 @@ xfs_swap_extents_check_format(
        return 0;
 }
 
-int
+static int
 xfs_swap_extent_flush(
        struct xfs_inode        *ip)
 {