aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-02-04 19:13:21 -0500
committerDave Chinner <david@fromorbit.com>2015-02-04 19:13:21 -0500
commitf92090e95cd26ea0a80dc8305b685cc30f6a501f (patch)
treead8718f7d07b698c0d2f20b30b8d1c93ca774eb2
parentf8079b850c9e130423829c919f3c0802e677099d (diff)
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: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
-rw-r--r--fs/xfs/xfs_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c
index 0f6b6abb7c7a..f1dc90be508c 100644
--- a/fs/xfs/xfs_ioctl.c
+++ b/fs/xfs/xfs_ioctl.c
@@ -1112,7 +1112,7 @@ out_cancel:
1112 * to half the AG size to avoid alignment extending the extent beyond the 1112 * to half the AG size to avoid alignment extending the extent beyond the
1113 * limits of the AG. 1113 * limits of the AG.
1114 */ 1114 */
1115int 1115static int
1116xfs_ioctl_setattr_check_extsize( 1116xfs_ioctl_setattr_check_extsize(
1117 struct xfs_inode *ip, 1117 struct xfs_inode *ip,
1118 struct fsxattr *fa) 1118 struct fsxattr *fa)
@@ -1155,7 +1155,7 @@ xfs_ioctl_setattr_check_extsize(
1155 return 0; 1155 return 0;
1156} 1156}
1157 1157
1158int 1158static int
1159xfs_ioctl_setattr_check_projid( 1159xfs_ioctl_setattr_check_projid(
1160 struct xfs_inode *ip, 1160 struct xfs_inode *ip,
1161 struct fsxattr *fa) 1161 struct fsxattr *fa)