diff options
author | Dave Chinner <david@fromorbit.com> | 2014-09-23 02:20:11 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-09-23 02:20:11 -0400 |
commit | 7abbb8f928e5b7cea1edd077131b2ace665c6712 (patch) | |
tree | b07218c2b86eca46814191fb70e8757696a3b9a2 /fs | |
parent | 02cc18764c753befcdc163d1bc668a6599a54585 (diff) |
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.c | 2 |
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( | |||
1618 | return 0; | 1618 | return 0; |
1619 | } | 1619 | } |
1620 | 1620 | ||
1621 | int | 1621 | static int |
1622 | xfs_swap_extent_flush( | 1622 | xfs_swap_extent_flush( |
1623 | struct xfs_inode *ip) | 1623 | struct xfs_inode *ip) |
1624 | { | 1624 | { |