Skip to content

Commit 9037caa

Browse files
committed
eventfs: Fix kerneldoc of eventfs_remove_rec()
The eventfs_remove_rec() had some missing parameters in the kerneldoc comment above it. Also, rephrase the description a bit more to have a bit more correct grammar. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Mark Rutland <[email protected]> Fixes: 5790b1f ("eventfs: Remove eventfs_file and just use eventfs_inode"); Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 4f7969b commit 9037caa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fs/tracefs/event_inode.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,11 @@ static void free_ei(struct rcu_head *head)
796796
/**
797797
* eventfs_remove_rec - remove eventfs dir or file from list
798798
* @ei: eventfs_inode to be removed.
799+
* @head: the list head to place the deleted @ei and children
800+
* @level: prevent recursion from going more than 3 levels deep.
799801
*
800-
* This function recursively remove eventfs_inode which
801-
* contains info of file or dir.
802+
* This function recursively removes eventfs_inodes which
803+
* contains info of files and/or directories.
802804
*/
803805
static void eventfs_remove_rec(struct eventfs_inode *ei, struct list_head *head, int level)
804806
{

0 commit comments

Comments
 (0)