diff options
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 7c62fca53e2f..a90a950b4c45 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c | |||
@@ -974,7 +974,7 @@ xfs_file_fallocate( | |||
974 | 974 | ||
975 | iattr.ia_valid = ATTR_SIZE; | 975 | iattr.ia_valid = ATTR_SIZE; |
976 | iattr.ia_size = new_size; | 976 | iattr.ia_size = new_size; |
977 | error = xfs_setattr_size(ip, &iattr); | 977 | error = xfs_vn_setattr_size(file->f_path.dentry, &iattr); |
978 | if (error) | 978 | if (error) |
979 | goto out_unlock; | 979 | goto out_unlock; |
980 | } | 980 | } |