aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r--fs/xfs/xfs_vnodeops.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c
index 1c890113ab3e..34a1982ed6dc 100644
--- a/fs/xfs/xfs_vnodeops.c
+++ b/fs/xfs/xfs_vnodeops.c
@@ -79,8 +79,7 @@ int
79xfs_setattr( 79xfs_setattr(
80 struct xfs_inode *ip, 80 struct xfs_inode *ip,
81 struct iattr *iattr, 81 struct iattr *iattr,
82 int flags, 82 int flags)
83 cred_t *credp)
84{ 83{
85 xfs_mount_t *mp = ip->i_mount; 84 xfs_mount_t *mp = ip->i_mount;
86 struct inode *inode = VFS_I(ip); 85 struct inode *inode = VFS_I(ip);
@@ -3362,7 +3361,6 @@ xfs_change_file_space(
3362 int cmd, 3361 int cmd,
3363 xfs_flock64_t *bf, 3362 xfs_flock64_t *bf,
3364 xfs_off_t offset, 3363 xfs_off_t offset,
3365 cred_t *credp,
3366 int attr_flags) 3364 int attr_flags)
3367{ 3365{
3368 xfs_mount_t *mp = ip->i_mount; 3366 xfs_mount_t *mp = ip->i_mount;
@@ -3450,7 +3448,7 @@ xfs_change_file_space(
3450 iattr.ia_valid = ATTR_SIZE; 3448 iattr.ia_valid = ATTR_SIZE;
3451 iattr.ia_size = startoffset; 3449 iattr.ia_size = startoffset;
3452 3450
3453 error = xfs_setattr(ip, &iattr, attr_flags, credp); 3451 error = xfs_setattr(ip, &iattr, attr_flags);
3454 3452
3455 if (error) 3453 if (error)
3456 return error; 3454 return error;