]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/9p/vfs_inode.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-bionic-kernel.git] / fs / 9p / vfs_inode.c
index 8bea369a29367f02ef654710d258e0c3fb6eee89..30ca770c5e0b854d51abeb5193882a12503c8f8d 100644 (file)
@@ -1098,7 +1098,7 @@ static int v9fs_vfs_setattr(struct dentry *dentry, struct iattr *iattr)
        struct p9_wstat wstat;
 
        p9_debug(P9_DEBUG_VFS, "\n");
-       retval = inode_change_ok(d_inode(dentry), iattr);
+       retval = setattr_prepare(dentry, iattr);
        if (retval)
                return retval;