statx: remove incorrect part of vfs_statx() comment
PATCH 1/1 statx: remove incorrect part of vfs_statx() comment
From: Eric Biggers <[email protected]>
request_mask and query_flags are function arguments, not passed in struct kstat. So remove the part of the comment which claims otherwise. This was apparently left over from an earlier version of the statx patch.
Signed-off-by Eric Biggers <[email protected]>
--- fs/stat.c | 3 --- 1 file changed, 3 deletions(-)
fs/stat.c +0 -3
@@ -159,9 +159,6 @@ EXPORT_SYMBOL(vfs_statx_fd);* Additionally, the use of AT_SYMLINK_NOFOLLOW in flags will prevent a symlink * at the given name from being referenced. * -* The caller must have preset stat->request_mask as for vfs_getattr(). The -* flags are also used to load up stat->query_flags. -* * 0 will be returned on success, and a -ve error code if unsuccessful. */ int vfs_statx(int dfd, const char __user *filename, int flags,
Signature · 1 line
2.12.0
Quoted 8 lines · Eric Biggers
From: Eric Biggers <[email protected]>
request_maskandquery_flagsare function arguments, not passed in struct kstat. So remove the part of the comment which claims otherwise. This was apparently left over from an earlier version of the statx patch.Signed-off-by Eric Biggers <[email protected]>
Acked-by David Howells <[email protected]>
Looks good,
Reviewed-by Christoph Hellwig <[email protected]>