]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
tracefs/eventfs: Modify mismatched function name
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 19 Oct 2023 03:13:53 +0000 (11:13 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 20 Oct 2023 16:14:59 +0000 (12:14 -0400)
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>
fs/tracefs/event_inode.c

index 1885f1f1f339d925394fd2ba7da26a01d9867bb8..09ab93357957eeceb1d603de740397215fbf9091 100644 (file)
@@ -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()