VFS: d_duplicate: repair comments to avoid kernel-doc warnings
Subsystems (2)
Randy Dunlap
reviewerPATCH v3 1/1 VFS: d_duplicate: repair comments to avoid kernel-doc warnings
Use a typical list style for comments to prevent kernel-doc warnings:
Documentation/filesystems/api-summary:20: ../fs/dcache.c:2029: ERROR: Unexpected indentation. [docutils] Documentation/filesystems/api-summary:20: ../fs/dcache.c:2030: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
Also, modify the spelling of "whiteout" to match all other uses in the kernel source tree and to be consistent on the same line.
---
v3: use one colon for the list, not "::" for a literal block (Neil).
Add linux-doc etc. to Cc: list.
v2: dropped Jan's Reviewed-by since the patch changed.
fs/dcache.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
fs/dcache.c +6 -5
@@ -2025,11 +2025,12 @@ EXPORT_SYMBOL(d_alloc);* @dentry: the dentry to duplicate * * Some rename operations need to be combined with another operation -* inside the filesystem. -* 1/ A cluster filesystem when renaming to an in-use file might need to -* first "silly-rename" that target out of the way before the main rename -* 2/ A filesystem that supports white-out might want to create a whiteout -* in place of the file being moved. +* inside the filesystem: +* +* 1. A cluster filesystem when renaming to an in-use file might need to +* first "silly-rename" that target out of the way before the main rename +* 2. A filesystem that supports whiteout might want to create a whiteout +* in place of the file being moved. * * For this they need two dentries which temporarily have the same name, * before one is renamed. d_duplicate() provides for this. Given a
Quoted 10 lines · Randy Dunlap
Use a typical list style for comments to prevent kernel-doc warnings:
Documentation/filesystems/api-summary:20:../fs/dcache.c:2029: ERROR: Unexpected indentation. [docutils]Documentation/filesystems/api-summary:20:../fs/dcache.c:2030: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]Also, modify the spelling of "whiteout" to match all other uses in the kernel source tree and to be consistent on the same line.
Fixes 33d76519f0cc ("VFS: add d_duplicate()")Signed-off-by Randy Dunlap <[email protected]>
Looks good. Feel free to add:
Honza
Quoted 37 lines
---
v3: use one colon for the list, not "::" for a literal block (Neil).
Add linux-doc etc. to Cc: list.
v2: dropped Jan's Reviewed-by since the patch changed.Cc NeilBrown <[email protected]>Cc Alexander Viro <[email protected]>Cc Christian Brauner <[email protected]>Cc Jan Kara <[email protected]>Cc Jonathan Corbet <[email protected]>Cc Shuah Khan <[email protected]>fs/dcache.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)fs/dcache.c +6
-5@@ -2025,11 +2025,12 @@ EXPORT_SYMBOL(d_alloc);* @dentry: the dentry to duplicate * * Some rename operations need to be combined with another operation -* inside the filesystem. -* 1/ A cluster filesystem when renaming to an in-use file might need to -* first "silly-rename" that target out of the way before the main rename -* 2/ A filesystem that supports white-out might want to create a whiteout -* in place of the file being moved. +* inside the filesystem: +* +* 1. A cluster filesystem when renaming to an in-use file might need to +* first "silly-rename" that target out of the way before the main rename +* 2. A filesystem that supports whiteout might want to create a whiteout +* in place of the file being moved. * * For this they need two dentries which temporarily have the same name, * before one is renamed. d_duplicate() provides for this. Given a
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 9 lines · Randy Dunlap
Use a typical list style for comments to prevent kernel-doc warnings:
Documentation/filesystems/api-summary:20:../fs/dcache.c:2029: ERROR: Unexpected indentation. [docutils]Documentation/filesystems/api-summary:20:../fs/dcache.c:2030: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]Also, modify the spelling of "whiteout" to match all other uses in the kernel source tree and to be consistent on the same line.
[...]
Applied to the vfs-7.4.lookup branch of the vfs/vfs.git tree. Patches in the vfs-7.4.lookup 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-7.4.lookup
[1/1] VFS: d_duplicate: repair comments to avoid kernel-doc warnings
https://git.kernel.org/vfs/vfs/c/31fbbc8bb1ca