diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2016-11-30 23:13:05 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2017-02-23 03:53:52 +0000 |
commit | 1c608c2d1aefca2bf63497663e17cfb49e6b022c (patch) | |
tree | e14850fa49be1d6b71a51aea6b26dc26f90c96d7 /Documentation | |
parent | 34a0362f84457031a9252c7ffc30263c9cc00bf9 (diff) | |
download | linux-stable-1c608c2d1aefca2bf63497663e17cfb49e6b022c.tar.gz linux-stable-1c608c2d1aefca2bf63497663e17cfb49e6b022c.tar.bz2 linux-stable-1c608c2d1aefca2bf63497663e17cfb49e6b022c.zip |
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 'Documentation')
-rw-r--r-- | Documentation/filesystems/porting | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index 4f65ae209a65..0f3a1390bf00 100644 --- a/Documentation/filesystems/porting +++ b/Documentation/filesystems/porting @@ -287,8 +287,8 @@ implementing on-disk size changes. Start with a copy of the old inode_setattr and vmtruncate, and the reorder the vmtruncate + foofs_vmtruncate sequence to be in order of zeroing blocks using block_truncate_page or similar helpers, size update and on finally on-disk truncation which should not fail. -setattr_prepare (which used to be inode_change_ok) now includes the size checks -for ATTR_SIZE and must be called in the beginning of ->setattr unconditionally. +inode_change_ok now includes the size checks for ATTR_SIZE and must be called +in the beginning of ->setattr unconditionally. [mandatory] |