Skip to content

Commit 33b091c

Browse files
andrealmeidbrauner
authored andcommitted
libfs: Fix kernel-doc warning in generic_ci_validate_strict_name
Fix the indentation of the return values from generic_ci_validate_strict_name() to properly render the comment and to address a `make htmldocs` warning: Documentation/filesystems/api-summary:14: include/linux/fs.h:3504: WARNING: Bullet list ends without a blank line; unexpected unindent. Fixes: 0e152be ("libfs: Create the helper function generic_ci_validate_strict_name()") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/lkml/20241030162435.05425f60@canb.auug.org.au/ Signed-off-by: André Almeida <andrealmeid@igalia.com> Link: https://lore.kernel.org/r/20241101164251.327884-2-andrealmeid@igalia.com Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 9c8f520 commit 33b091c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

include/linux/fs.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3477,12 +3477,12 @@ int generic_ci_d_compare(const struct dentry *dentry, unsigned int len,
34773477
* @name: name of the new file
34783478
*
34793479
* Return:
3480-
* * True if the filename is suitable for this directory. It can be
3481-
* true if a given name is not suitable for a strict encoding
3482-
* directory, but the directory being used isn't strict
3480+
* * True: if the filename is suitable for this directory. It can be
3481+
* true if a given name is not suitable for a strict encoding
3482+
* directory, but the directory being used isn't strict
34833483
* * False if the filename isn't suitable for this directory. This only
3484-
* happens when a directory is casefolded and the filesystem is strict
3485-
* about its encoding.
3484+
* happens when a directory is casefolded and the filesystem is strict
3485+
* about its encoding.
34863486
*/
34873487
static inline bool generic_ci_validate_strict_name(struct inode *dir, struct qstr *name)
34883488
{

0 commit comments

Comments
 (0)