xfs: xfs_shift_file_space can be static
authorkbuild test robot <fengguang.wu@intel.com>
Mon, 13 Apr 2015 01:25:04 +0000 (11:25 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 13 Apr 2015 01:25:04 +0000 (11:25 +1000)
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 fe1f11b..e867573 100644 (file)
@@ -1383,7 +1383,7 @@ out:
  * If we are shifting right, we will start with last extent inside file space
  * and continue until we reach the block corresponding to offset.
  */
-int
+static int
 xfs_shift_file_space(
        struct xfs_inode        *ip,
        xfs_off_t               offset,