提交 f92090e9 编写于 作者: K kbuild test robot 提交者: Dave Chinner

xfs: xfs_ioctl_setattr_check_projid can be static

fs/xfs/xfs_ioctl.c:1146:1: sparse: symbol 'xfs_ioctl_setattr_check_projid' was not declared. Should it be static?

Also fix xfs_ioctl_setattr_check_extsize at the same time.
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Reviewed-by: NDave Chinner <dchinner@redhat.com>
Signed-off-by: NDave Chinner <david@fromorbit.com>
上级 f8079b85
...@@ -1112,7 +1112,7 @@ xfs_ioctl_setattr_get_trans( ...@@ -1112,7 +1112,7 @@ xfs_ioctl_setattr_get_trans(
* to half the AG size to avoid alignment extending the extent beyond the * to half the AG size to avoid alignment extending the extent beyond the
* limits of the AG. * limits of the AG.
*/ */
int static int
xfs_ioctl_setattr_check_extsize( xfs_ioctl_setattr_check_extsize(
struct xfs_inode *ip, struct xfs_inode *ip,
struct fsxattr *fa) struct fsxattr *fa)
...@@ -1155,7 +1155,7 @@ xfs_ioctl_setattr_check_extsize( ...@@ -1155,7 +1155,7 @@ xfs_ioctl_setattr_check_extsize(
return 0; return 0;
} }
int static int
xfs_ioctl_setattr_check_projid( xfs_ioctl_setattr_check_projid(
struct xfs_inode *ip, struct xfs_inode *ip,
struct fsxattr *fa) struct fsxattr *fa)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册