diff options
author | Eric Biggers <ebiggers@google.com> | 2017-03-31 19:31:25 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-03 07:05:56 +0200 |
commit | 75dd7e4bb663c7047c7d1bd4dad26f8c048851be (patch) | |
tree | 3ffef225c729a1a835aa9cf505717e7aef509b31 /Documentation/filesystems/porting | |
parent | Linux 4.11-rc5 (diff) | |
download | linux-75dd7e4bb663c7047c7d1bd4dad26f8c048851be.tar.xz linux-75dd7e4bb663c7047c7d1bd4dad26f8c048851be.zip |
Documentation/filesystems: fix documentation for ->getattr()
Following the recent merge of statx, correct the documented prototype
for the ->getattr() inode operation, and add an entry to the porting
file.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems/porting')
-rw-r--r-- | Documentation/filesystems/porting | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index 95280079c0b3..5fb17f49f7a2 100644 --- a/Documentation/filesystems/porting +++ b/Documentation/filesystems/porting @@ -600,3 +600,9 @@ in your dentry operations instead. [recommended] ->readlink is optional for symlinks. Don't set, unless filesystem needs to fake something for readlink(2). +-- +[mandatory] + ->getattr() is now passed a struct path rather than a vfsmount and + dentry separately, and it now has request_mask and query_flags arguments + to specify the fields and sync type requested by statx. Filesystems not + supporting any statx-specific features may ignore the new arguments. |