linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: fix request_mask variable in generic_fillattr kerneldoc comment
@ 2023-07-31 10:37 Jeff Layton
  2023-07-31 12:18 ` Matthew Wilcox
  2023-07-31 12:22 ` Christian Brauner
  0 siblings, 2 replies; 6+ messages in thread
From: Jeff Layton @ 2023-07-31 10:37 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner
  Cc: linux-fsdevel, linux-kernel, Stephen Rothwell, Jeff Layton

req_mask -> request_mask

Fixes: 0a6ab6dc6958 ("fs: pass the request_mask to generic_fillattr")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 fs/stat.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/fs/stat.c b/fs/stat.c
index 51effd1c2bc2..592b62d577b6 100644
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -59,10 +59,10 @@ EXPORT_SYMBOL(fill_mg_cmtime);
 
 /**
  * generic_fillattr - Fill in the basic attributes from the inode struct
- * @idmap:	idmap of the mount the inode was found from
- * @req_mask	statx request_mask
- * @inode:	Inode to use as the source
- * @stat:	Where to fill in the attributes
+ * @idmap:		idmap of the mount the inode was found from
+ * @request_mask	statx request_mask
+ * @inode:		Inode to use as the source
+ * @stat:		Where to fill in the attributes
  *
  * Fill in the basic attributes in the kstat structure from data that's to be
  * found on the VFS inode structure.  This is the default if no getattr inode

---
base-commit: dec705a2d44a306ca3502dd34ccfe8d8ffd79537
change-id: 20230728-mgctime-5e0ec0e89b04

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>


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

* Re: [PATCH] fs: fix request_mask variable in generic_fillattr kerneldoc comment
  2023-07-31 10:37 [PATCH] fs: fix request_mask variable in generic_fillattr kerneldoc comment Jeff Layton
@ 2023-07-31 12:18 ` Matthew Wilcox
  2023-07-31 12:28   ` Christian Brauner
  2023-07-31 12:22 ` Christian Brauner
  1 sibling, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2023-07-31 12:18 UTC (permalink / raw)
  To: Jeff Layton
  Cc: Alexander Viro, Christian Brauner, linux-fsdevel, linux-kernel,
	Stephen Rothwell

On Mon, Jul 31, 2023 at 06:37:10AM -0400, Jeff Layton wrote:
>  /**
>   * generic_fillattr - Fill in the basic attributes from the inode struct
> - * @idmap:	idmap of the mount the inode was found from
> - * @req_mask	statx request_mask
> - * @inode:	Inode to use as the source
> - * @stat:	Where to fill in the attributes
> + * @idmap:		idmap of the mount the inode was found from
> + * @request_mask	statx request_mask

Missing the colon after request_mask.

> + * @inode:		Inode to use as the source
> + * @stat:		Where to fill in the attributes

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

* Re: [PATCH] fs: fix request_mask variable in generic_fillattr kerneldoc comment
  2023-07-31 10:37 [PATCH] fs: fix request_mask variable in generic_fillattr kerneldoc comment Jeff Layton
  2023-07-31 12:18 ` Matthew Wilcox
@ 2023-07-31 12:22 ` Christian Brauner
  1 sibling, 0 replies; 6+ messages in thread
From: Christian Brauner @ 2023-07-31 12:22 UTC (permalink / raw)
  To: Jeff Layton
  Cc: Christian Brauner, linux-fsdevel, linux-kernel, Stephen Rothwell,
	Alexander Viro

On Mon, 31 Jul 2023 06:37:10 -0400, Jeff Layton wrote:
> req_mask -> request_mask
> 
> 

Applied to the vfs.ctime branch of the vfs/vfs.git tree.
Patches in the vfs.ctime branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.ctime

[1/1 FOLDED] fs: pass the request_mask to generic_fillattr
      https://git.kernel.org/vfs/vfs/c/0f64b6ec05db

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

* Re: [PATCH] fs: fix request_mask variable in generic_fillattr kerneldoc comment
  2023-07-31 12:18 ` Matthew Wilcox
@ 2023-07-31 12:28   ` Christian Brauner
  2023-07-31 12:32     ` Matthew Wilcox
  0 siblings, 1 reply; 6+ messages in thread
From: Christian Brauner @ 2023-07-31 12:28 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: Jeff Layton, Alexander Viro, linux-fsdevel, linux-kernel,
	Stephen Rothwell

On Mon, Jul 31, 2023 at 01:18:55PM +0100, Matthew Wilcox wrote:
> On Mon, Jul 31, 2023 at 06:37:10AM -0400, Jeff Layton wrote:
> >  /**
> >   * generic_fillattr - Fill in the basic attributes from the inode struct
> > - * @idmap:	idmap of the mount the inode was found from
> > - * @req_mask	statx request_mask
> > - * @inode:	Inode to use as the source
> > - * @stat:	Where to fill in the attributes
> > + * @idmap:		idmap of the mount the inode was found from
> > + * @request_mask	statx request_mask
> 
> Missing the colon after request_mask.

Fixed in-tree, thanks!

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

* Re: [PATCH] fs: fix request_mask variable in generic_fillattr kerneldoc comment
  2023-07-31 12:28   ` Christian Brauner
@ 2023-07-31 12:32     ` Matthew Wilcox
  2023-07-31 12:44       ` Christian Brauner
  0 siblings, 1 reply; 6+ messages in thread
From: Matthew Wilcox @ 2023-07-31 12:32 UTC (permalink / raw)
  To: Christian Brauner
  Cc: Jeff Layton, Alexander Viro, linux-fsdevel, linux-kernel,
	Stephen Rothwell

On Mon, Jul 31, 2023 at 02:28:49PM +0200, Christian Brauner wrote:
> On Mon, Jul 31, 2023 at 01:18:55PM +0100, Matthew Wilcox wrote:
> > On Mon, Jul 31, 2023 at 06:37:10AM -0400, Jeff Layton wrote:
> > >  /**
> > >   * generic_fillattr - Fill in the basic attributes from the inode struct
> > > - * @idmap:	idmap of the mount the inode was found from
> > > - * @req_mask	statx request_mask
> > > - * @inode:	Inode to use as the source
> > > - * @stat:	Where to fill in the attributes
> > > + * @idmap:		idmap of the mount the inode was found from
> > > + * @request_mask	statx request_mask
> > 
> > Missing the colon after request_mask.
> 
> Fixed in-tree, thanks!

FWIW, a W=1 build will catch this:

../mm/filemap.c:254: warning: Function parameter or member 'folio' not described in 'filemap_remove_folio'

(after having deliberately removed the colon on that line)

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

* Re: [PATCH] fs: fix request_mask variable in generic_fillattr kerneldoc comment
  2023-07-31 12:32     ` Matthew Wilcox
@ 2023-07-31 12:44       ` Christian Brauner
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Brauner @ 2023-07-31 12:44 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: Jeff Layton, Alexander Viro, linux-fsdevel, linux-kernel,
	Stephen Rothwell

On Mon, Jul 31, 2023 at 01:32:04PM +0100, Matthew Wilcox wrote:
> On Mon, Jul 31, 2023 at 02:28:49PM +0200, Christian Brauner wrote:
> > On Mon, Jul 31, 2023 at 01:18:55PM +0100, Matthew Wilcox wrote:
> > > On Mon, Jul 31, 2023 at 06:37:10AM -0400, Jeff Layton wrote:
> > > >  /**
> > > >   * generic_fillattr - Fill in the basic attributes from the inode struct
> > > > - * @idmap:	idmap of the mount the inode was found from
> > > > - * @req_mask	statx request_mask
> > > > - * @inode:	Inode to use as the source
> > > > - * @stat:	Where to fill in the attributes
> > > > + * @idmap:		idmap of the mount the inode was found from
> > > > + * @request_mask	statx request_mask
> > > 
> > > Missing the colon after request_mask.
> > 
> > Fixed in-tree, thanks!
> 
> FWIW, a W=1 build will catch this:
> 
> ../mm/filemap.c:254: warning: Function parameter or member 'folio' not described in 'filemap_remove_folio'
> 
> (after having deliberately removed the colon on that line)

Thanks! I often only do W=1 builds by hand on specific files because
otherwise there's such a wall of warnings that it's hard to see what's
going on.

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

end of thread, other threads:[~2023-07-31 12:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 10:37 [PATCH] fs: fix request_mask variable in generic_fillattr kerneldoc comment Jeff Layton
2023-07-31 12:18 ` Matthew Wilcox
2023-07-31 12:28   ` Christian Brauner
2023-07-31 12:32     ` Matthew Wilcox
2023-07-31 12:44       ` Christian Brauner
2023-07-31 12:22 ` Christian Brauner

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).