diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2016-12-01 02:13:05 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2017-02-23 06:53:52 +0300 |
commit | 1c608c2d1aefca2bf63497663e17cfb49e6b022c (patch) | |
tree | e14850fa49be1d6b71a51aea6b26dc26f90c96d7 /fs/f2fs | |
parent | 34a0362f84457031a9252c7ffc30263c9cc00bf9 (diff) | |
download | linux-1c608c2d1aefca2bf63497663e17cfb49e6b022c.tar.xz |
Revert "fs: Give dentry to inode_change_ok() instead of inode"
This reverts commit be9df699432235753c3824b0f5a27d46de7fdc9e, which was
commit 31051c85b5e2aaaf6315f74c72a732673632a905 upstream. The backport
breaks fuse and makes a mess of xfs, which can be improved by picking
further upstream commits as I should have done in the first place.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 010c2af33858..7d8b96275092 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -500,7 +500,7 @@ int f2fs_setattr(struct dentry *dentry, struct iattr *attr) struct f2fs_inode_info *fi = F2FS_I(inode); int err; - err = setattr_prepare(dentry, attr); + err = inode_change_ok(inode, attr); if (err) return err; |