linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] fs: Fix attr.c kernel-doc
@ 2018-07-03 15:08 Matthew Wilcox
  2018-07-03 15:08 ` [PATCH 2/2] fs: Add more kernel-doc to the produced documentation Matthew Wilcox
  2018-07-03 20:39 ` [PATCH 1/2] fs: Fix attr.c kernel-doc Al Viro
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew Wilcox @ 2018-07-03 15:08 UTC (permalink / raw)
  To: linux-fsdevel, linux-doc
  Cc: Matthew Wilcox, Jonathan Corbet, Al Viro, Ross Zwisler

A couple of minor warnings.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
---
 fs/attr.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/fs/attr.c b/fs/attr.c
index e3d53bf12240..d22e8187477f 100644
--- a/fs/attr.c
+++ b/fs/attr.c
@@ -120,7 +120,6 @@ EXPORT_SYMBOL(setattr_prepare);
  * inode_newsize_ok - may this inode be truncated to a given size
  * @inode:	the inode to be truncated
  * @offset:	the new size to assign to the inode
- * @Returns:	0 on success, -ve errno on failure
  *
  * inode_newsize_ok must be called with i_mutex held.
  *
@@ -130,6 +129,8 @@ EXPORT_SYMBOL(setattr_prepare);
  * returned. @inode must be a file (not directory), with appropriate
  * permissions to allow truncate (inode_newsize_ok does NOT check these
  * conditions).
+ *
+ * Return: 0 on success, -ve errno on failure
  */
 int inode_newsize_ok(const struct inode *inode, loff_t offset)
 {
@@ -205,7 +206,7 @@ EXPORT_SYMBOL(setattr_copy);
 /**
  * notify_change - modify attributes of a filesytem object
  * @dentry:	object affected
- * @iattr:	new attributes
+ * @attr:	new attributes
  * @delegated_inode: returns inode, if the inode is delegated
  *
  * The caller must hold the i_mutex on the affected object.
-- 
2.18.0

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

* [PATCH 2/2] fs: Add more kernel-doc to the produced documentation
  2018-07-03 15:08 [PATCH 1/2] fs: Fix attr.c kernel-doc Matthew Wilcox
@ 2018-07-03 15:08 ` Matthew Wilcox
  2018-07-03 20:39 ` [PATCH 1/2] fs: Fix attr.c kernel-doc Al Viro
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Wilcox @ 2018-07-03 15:08 UTC (permalink / raw)
  To: linux-fsdevel, linux-doc
  Cc: Matthew Wilcox, Jonathan Corbet, Al Viro, Ross Zwisler

People have gone to all the effort of writing kernel-doc for these
functions; the least we can do is put them in the "Other functions"
part of the VFS documentation.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
---
 Documentation/filesystems/index.rst | 33 +++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/Documentation/filesystems/index.rst b/Documentation/filesystems/index.rst
index 53b89d0edc15..46d1b1be3a51 100644
--- a/Documentation/filesystems/index.rst
+++ b/Documentation/filesystems/index.rst
@@ -71,6 +71,39 @@ Other Functions
 .. kernel-doc:: fs/block_dev.c
    :export:
 
+.. kernel-doc:: fs/anon_inodes.c
+   :export:
+
+.. kernel-doc:: fs/attr.c
+   :export:
+
+.. kernel-doc:: fs/d_path.c
+   :export:
+
+.. kernel-doc:: fs/dax.c
+   :export:
+
+.. kernel-doc:: fs/direct-io.c
+   :export:
+
+.. kernel-doc:: fs/file_table.c
+   :export:
+
+.. kernel-doc:: fs/libfs.c
+   :export:
+
+.. kernel-doc:: fs/posix_acl.c
+   :export:
+
+.. kernel-doc:: fs/stat.c
+   :export:
+
+.. kernel-doc:: fs/sync.c
+   :export:
+
+.. kernel-doc:: fs/xattr.c
+   :export:
+
 The proc filesystem
 ===================
 
-- 
2.18.0

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

* Re: [PATCH 1/2] fs: Fix attr.c kernel-doc
  2018-07-03 15:08 [PATCH 1/2] fs: Fix attr.c kernel-doc Matthew Wilcox
  2018-07-03 15:08 ` [PATCH 2/2] fs: Add more kernel-doc to the produced documentation Matthew Wilcox
@ 2018-07-03 20:39 ` Al Viro
  1 sibling, 0 replies; 3+ messages in thread
From: Al Viro @ 2018-07-03 20:39 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-fsdevel, linux-doc, Jonathan Corbet, Ross Zwisler

On Tue, Jul 03, 2018 at 08:08:34AM -0700, Matthew Wilcox wrote:
> A couple of minor warnings.

Both patches applied...

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

end of thread, other threads:[~2018-07-03 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-03 15:08 [PATCH 1/2] fs: Fix attr.c kernel-doc Matthew Wilcox
2018-07-03 15:08 ` [PATCH 2/2] fs: Add more kernel-doc to the produced documentation Matthew Wilcox
2018-07-03 20:39 ` [PATCH 1/2] fs: Fix attr.c kernel-doc Al Viro

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