浏览代码

xfs: xfs_shift_file_space can be static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
kbuild test robot 10 年之前
父节点
当前提交
72c1a73993
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/xfs/xfs_bmap_util.c

+ 1 - 1
fs/xfs/xfs_bmap_util.c

@@ -1383,7 +1383,7 @@ out:
  * If we are shifting right, we will start with last extent inside file space
  * If we are shifting right, we will start with last extent inside file space
  * and continue until we reach the block corresponding to offset.
  * and continue until we reach the block corresponding to offset.
  */
  */
-int
+static int
 xfs_shift_file_space(
 xfs_shift_file_space(
 	struct xfs_inode        *ip,
 	struct xfs_inode        *ip,
 	xfs_off_t               offset,
 	xfs_off_t               offset,