linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] statx: remove incorrect part of vfs_statx() comment
@ 2017-03-11 10:13 Eric Biggers
  2017-03-11 19:27 ` David Howells
  2017-03-31 15:41 ` Christoph Hellwig
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Biggers @ 2017-03-11 10:13 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Al Viro, David Howells, linux-kernel, Eric Biggers

From: Eric Biggers <ebiggers@google.com>

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>
---
 fs/stat.c | 3 ---
 1 file changed, 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);
  * 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,
-- 
2.12.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] statx: remove incorrect part of vfs_statx() comment
  2017-03-11 10:13 [PATCH] statx: remove incorrect part of vfs_statx() comment Eric Biggers
@ 2017-03-11 19:27 ` David Howells
  2017-03-31 15:41 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: David Howells @ 2017-03-11 19:27 UTC (permalink / raw)
  To: Eric Biggers; +Cc: dhowells, linux-fsdevel, Al Viro, linux-kernel, Eric Biggers

Eric Biggers <ebiggers3@gmail.com> wrote:

> From: Eric Biggers <ebiggers@google.com>
> 
> 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>

Acked-by: David Howells <dhowells@redhat.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] statx: remove incorrect part of vfs_statx() comment
  2017-03-11 10:13 [PATCH] statx: remove incorrect part of vfs_statx() comment Eric Biggers
  2017-03-11 19:27 ` David Howells
@ 2017-03-31 15:41 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2017-03-31 15:41 UTC (permalink / raw)
  To: Eric Biggers
  Cc: linux-fsdevel, Al Viro, David Howells, linux-kernel, Eric Biggers

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-31 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-11 10:13 [PATCH] statx: remove incorrect part of vfs_statx() comment Eric Biggers
2017-03-11 19:27 ` David Howells
2017-03-31 15:41 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).