Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f92090e9 authored by kbuild test robot's avatar kbuild test robot Committed by Dave Chinner
Browse files

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent f8079b85
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1112,7 +1112,7 @@ xfs_ioctl_setattr_get_trans(
 *    to half the AG size to avoid alignment extending the extent beyond the
 *    limits of the AG.
 */
int
static int
xfs_ioctl_setattr_check_extsize(
	struct xfs_inode	*ip,
	struct fsxattr		*fa)
@@ -1155,7 +1155,7 @@ xfs_ioctl_setattr_check_extsize(
	return 0;
}

int
static int
xfs_ioctl_setattr_check_projid(
	struct xfs_inode	*ip,
	struct fsxattr		*fa)