aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-03-31 13:31:40 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-04-03 01:05:57 -0400
commitb15fb70b82299f92bb8d591c9d1731cb23fa8290 (patch)
tree4bb322dfdc90f1aff51ce12c6221e2186f74ccd1
parent8c7493aa3e9ae90f90196f4d4c1398ad143cba7b (diff)
statx: remove incorrect part of vfs_statx() comment
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 <ebiggers@google.com> Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/stat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/stat.c b/fs/stat.c
index df484a60846d..b792dd201c31 100644
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -159,9 +159,6 @@ EXPORT_SYMBOL(vfs_statx_fd);
159 * Additionally, the use of AT_SYMLINK_NOFOLLOW in flags will prevent a symlink 159 * Additionally, the use of AT_SYMLINK_NOFOLLOW in flags will prevent a symlink
160 * at the given name from being referenced. 160 * at the given name from being referenced.
161 * 161 *
162 * The caller must have preset stat->request_mask as for vfs_getattr(). The
163 * flags are also used to load up stat->query_flags.
164 *
165 * 0 will be returned on success, and a -ve error code if unsuccessful. 162 * 0 will be returned on success, and a -ve error code if unsuccessful.
166 */ 163 */
167int vfs_statx(int dfd, const char __user *filename, int flags, 164int vfs_statx(int dfd, const char __user *filename, int flags,