From 81d670f6b647d029b404c6bc484347807712bc16 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Tue, 27 Dec 2016 19:49:24 -0500 Subject: [PATCH] Wrapfs: inode_change_ok renamed setattr_prepare Signed-off-by: Erez Zadok --- fs/wrapfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/wrapfs/inode.c b/fs/wrapfs/inode.c index 1fb153f53112..f72d9ee89676 100644 --- a/fs/wrapfs/inode.c +++ b/fs/wrapfs/inode.c @@ -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; -- 2.43.0