diff options
author | Eric Biggers <ebiggers@google.com> | 2017-03-31 18:31:25 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-03 01:05:56 -0400 |
commit | 75dd7e4bb663c7047c7d1bd4dad26f8c048851be (patch) | |
tree | 3ffef225c729a1a835aa9cf505717e7aef509b31 /Documentation/filesystems/porting | |
parent | a71c9a1c779f2499fb2afc0553e543f18aff6edf (diff) | |
download | linux-75dd7e4bb663c7047c7d1bd4dad26f8c048851be.tar.gz linux-75dd7e4bb663c7047c7d1bd4dad26f8c048851be.tar.bz2 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. |