From: Dave Chinner Date: Tue, 23 Sep 2014 06:20:11 +0000 (+1000) Subject: xfs: xfs_swap_extent_flush can be static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7abbb8f928e5b7cea1edd077131b2ace665c6712;p=linux-beck.git 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 Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- 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) {