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

@@ -960,7 +960,7 @@ static int shmem_setattr(struct dentry *dentry, struct iattr *attr)
struct shmem_sb_info *sbinfo = SHMEM_SB(inode->i_sb);
int error;
error = inode_change_ok(inode, attr);
error = setattr_prepare(dentry, attr);
if (error)
return error;