]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
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 fe1f11b96d0d1c2d232d15f2163f83fb2b46ba4e..e86757358d5b443496e81d1c7809819f5132b3c6 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,