Merge remote-tracking branch 'jk/vfs' into work.misc

This commit is contained in:
Al Viro
2016-10-08 11:06:08 -04:00
76 changed files with 296 additions and 225 deletions

View File

@@ -53,7 +53,7 @@ int ovl_setattr(struct dentry *dentry, struct iattr *attr)
* inode_newsize_ok() will always check against MAX_LFS_FILESIZE and not
* check for a swapfile (which this won't be anyway).
*/
err = inode_change_ok(dentry->d_inode, attr);
err = setattr_prepare(dentry, attr);
if (err)
return err;