Thread (4 messages) 4 messages, 2 authors, 2023-08-21

[PATCH] tracefs: Fix kernel-doc warnings

flat view
STALE1144d LANDED

From: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Date: 2023-08-18 20:15:26
Subsystem: filesystems (vfs and infrastructure), the rest, tracing · Maintainers: Alexander Viro, Christian Brauner, Linus Torvalds, Steven Rostedt, Masami Hiramatsu

Landed in mainline as 8c96b7017158 on 2023-08-22.

Move the per-member documentation into the header to fix the complaints
from kernel-doc.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
---
 fs/tracefs/event_inode.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c
index da8d2e73cc47..7ca3857ddb89 100644
--- a/fs/tracefs/event_inode.c
+++ b/fs/tracefs/event_inode.c
@@ -37,6 +37,9 @@ struct eventfs_inode {
  * @ei:		list of files and directories within directory
  * @fop:	file_operations for file or directory
  * @iop:	inode_operations for file or directory
+ * @del_list:	list of eventfs_file to delete
+ * @rcu:	eventfs_file to delete
+ * @is_freed:	Non-zero if @del_list or @rcu is active
  * @data:	something that the caller will want to get to later on
  * @mode:	the permission that the file or directory should have
  */
@@ -49,9 +52,9 @@ struct eventfs_file {
 	const struct file_operations	*fop;
 	const struct inode_operations	*iop;
 	union {
-		struct list_head	del_list; /* list of eventfs_file to delete */
-		struct rcu_head		rcu; /* eventfs_file to delete */
-		unsigned long		is_freed; /* Freed if one of the above is set */
+		struct list_head	del_list;
+		struct rcu_head		rcu;
+		unsigned long		is_freed;
 	};
 	void				*data;
 	umode_t				mode;
-- 
2.40.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help