On 2017-01-26 12:50 AM, Kevin Hao wrote:
In commit cb8e1eef351b ("fs: Give dentry to inode_change_ok() instead of inode") the inode_change_ok() has been rename to setattr_prepare(), and one of the argument was also changed from inode to dentry. We adjust the invocation of inode_change_ok() in Yaffs2 according to this change.
merged. Bruce
Signed-off-by: Kevin Hao <kexin....@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index 16251d5dcb17..cbdea23493bb 100644 --- a/fs/yaffs2/yaffs_vfs.c +++ b/fs/yaffs2/yaffs_vfs.c @@ -885,7 +885,7 @@ static int yaffs_setattr(struct dentry *dentry, struct iattr *attr) #endif if (error == 0) - error = inode_change_ok(inode, attr); + error = setattr_prepare(dentry, attr); if (error == 0) { int result; if (!error) {
-- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto