Wrapfs: inode_change_ok renamed setattr_prepare
authorErez Zadok <ezk@cs.sunysb.edu>
Wed, 28 Dec 2016 00:49:24 +0000 (19:49 -0500)
committerRohit Kumar <rokkumar@cs.stonybrook.edu>
Fri, 12 Oct 2018 16:28:47 +0000 (12:28 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/inode.c

index 1fb153f5311232f05d7b6f347f0671ebf5e8d8dd..f72d9ee896764a4050de08e6ae824a5b6b3cd5c1 100644 (file)
@@ -369,7 +369,7 @@ static int wrapfs_setattr(struct dentry *dentry, struct iattr *ia)
         * this user can change the lower inode: that should happen when
         * calling notify_change on the lower inode.
         */
-       err = inode_change_ok(inode, ia);
+       err = setattr_prepare(dentry, ia);
        if (err)
                goto out_err;