Skip to content

Commit

Permalink
xfs: xfs_ioctl_setattr_check_projid can be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kbuild test robot authored and Dave Chinner committed Feb 5, 2015
1 parent f8079b8 commit f92090e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/xfs/xfs_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f92090e

Please sign in to comment.