[PATCH] fs: anon-inode: Prepend blank line separator to anon_inode_create_getfile() reasons list

Bagas Sanjaya posted 1 patch 2 years, 1 month ago
fs/anon_inodes.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] fs: anon-inode: Prepend blank line separator to anon_inode_create_getfile() reasons list
Posted by Bagas Sanjaya 2 years, 1 month ago
Stephen Rothwell reported htmldocs warning when merging kvm tree:

Documentation/filesystems/api-summary:74: fs/anon_inodes.c:167: ERROR: Unexpected indentation.
Documentation/filesystems/api-summary:74: fs/anon_inodes.c:168: WARNING: Block quote ends without a blank line; unexpected unindent.

Fix them by prepending blank line separator to reasons list of
anon_inode_create_getfile() to render the list with correct items.

Fixes: e4c866e72563ed ("fs: Rename anon_inode_getfile_secure() and anon_inode_getfd_secure()")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20231114141326.38a3dcd4@canb.auug.org.au/
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 fs/anon_inodes.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c
index e02f4e2e2ecede..c9c02fc3bd0176 100644
--- a/fs/anon_inodes.c
+++ b/fs/anon_inodes.c
@@ -163,6 +163,7 @@ EXPORT_SYMBOL_GPL(anon_inode_getfile);
  *
  * Create a new anonymous inode and file pair.  This can be done for two
  * reasons:
+ *
  * - for the inode to have its own security context, so that LSMs can enforce
  *   policy on the inode's creation;
  * - if the caller needs a unique inode, for example in order to customize

base-commit: de7a3ded67802c419736e63f939d58fe7efcc9bd
-- 
An old man doll... just what I always wanted! - Clara