X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fhpfs%2Finode.c;h=b9c724ed1e7e3cabcec7059af86d967edb83eb50;hb=abb5a14fa20fdd400995926134b7be9eb8ce6048;hp=1f3c6d76200bea68aa7d879955f0351b74b9cdc0;hpb=03e075b38e6cd25267c8d6e2797fa4537ca3348d;p=cascardo%2Flinux.git diff --git a/fs/hpfs/inode.c b/fs/hpfs/inode.c index 1f3c6d76200b..b9c724ed1e7e 100644 --- a/fs/hpfs/inode.c +++ b/fs/hpfs/inode.c @@ -273,7 +273,7 @@ int hpfs_setattr(struct dentry *dentry, struct iattr *attr) if ((attr->ia_valid & ATTR_SIZE) && attr->ia_size > inode->i_size) goto out_unlock; - error = inode_change_ok(inode, attr); + error = setattr_prepare(dentry, attr); if (error) goto out_unlock;