mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 21:01:29 +00:00
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>
This commit is contained in:
parent
f8079b850c
commit
f92090e95c
@ -1112,7 +1112,7 @@ out_cancel:
|
||||
* 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)
|
||||
|
Loading…
Reference in New Issue
Block a user