Skip to content

Commit

Permalink
tracefs/eventfs: Modify mismatched function name
Browse files Browse the repository at this point in the history
No functional modification involved.

fs/tracefs/event_inode.c:864: warning: expecting prototype for eventfs_remove(). Prototype was for eventfs_remove_dir() instead.

Link: https://lore.kernel.org/linux-trace-kernel/20231019031353.73846-1-jiapeng.chong@linux.alibaba.com

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6939
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
  • Loading branch information
Jiapeng Chong authored and Steven Rostedt (Google) committed Oct 20, 2023
1 parent 5264a2f commit 64bf2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/tracefs/event_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ static void unhook_dentry(struct dentry **dentry, struct dentry **list)
}
}
/**
* eventfs_remove - remove eventfs dir or file from list
* eventfs_remove_dir - remove eventfs dir or file from list
* @ei: eventfs_inode to be removed.
*
* This function acquire the eventfs_mutex lock and call eventfs_remove_rec()
Expand Down

0 comments on commit 64bf2f6

Please sign in to comment.