X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_file.c;h=fcb81ede2cb036480ec8e354f4e9d562ca9a8fe0;hp=e612a0233710850f34eae93540b098c3ae7cda8c;hb=e55f1d1d13e7f1c364672d667d78fd1f640ab9f9;hpb=2586d61f81ea4d84e325cbde2b316c9a8ca43e38 diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index e612a0233710..fcb81ede2cb0 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -984,7 +984,7 @@ xfs_file_fallocate( iattr.ia_valid = ATTR_SIZE; iattr.ia_size = new_size; - error = xfs_setattr_size(ip, &iattr); + error = xfs_vn_setattr_size(file_dentry(file), &iattr); if (error) goto out_unlock; }