Documentation: add eventpoll to fs api-summary book
Subsystems (2)
Randy Dunlap
reviewerPATCH 2/2 Documentation: add eventpoll to fs api-summary book
Add fs/eventpoll.c to the filesystem api-summary book.
Fix kernel-doc warnings in eventpoll.c:
../fs/eventpoll.c:1132: warning: Function parameter or member 'new' not described in 'list_add_tail_lockless' ../fs/eventpoll.c:1132: warning: Function parameter or member 'head' not described in 'list_add_tail_lockless' ../fs/eventpoll.c:1172: warning: Function parameter or member 'epi' not described in 'chain_epi_lockless'
Also remove kernel-doc begin notation (/**) from reverse_path_check() and some other comment blocks.
Signed-off-by Randy Dunlap <[email protected]>
Cc Jonathan Corbet <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Alexander Viro <[email protected]>
--- Documentation/filesystems/api-summary.rst | 6 ++++++ fs/eventpoll.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-)
Documentation/filesystems/api-summary.rst +6 -0
@@ -125,6 +125,12 @@ Events based on file descriptors .. kernel-doc:: fs/eventfd.c :export: +eventpoll (epoll) interfaces +============================ + +.. kernel-doc:: fs/eventpoll.c + :internal: + The Filesystem for Exporting Kernel Objects ===========================================
fs/eventpoll.c +3 -3
@@ -1106,7 +1106,7 @@ struct file *get_epoll_tfile_raw_ptr(str }#endif /* CONFIG_CHECKPOINT_RESTORE */ -/** +/* * Adds a new entry to the tail of the list in a lockless way, i.e. * multiple CPUs are allowed to call this function concurrently. *
@@ -1159,7 +1159,7 @@ static inline bool list_add_tail_locklesreturn true; } -/** +/* * Chains a new epi entry to the tail of the ep->ovflist in a lockless way, * i.e. multiple CPUs are allowed to call this function concurrently. *
@@ -1419,7 +1419,7 @@ static int reverse_path_check_proc(voidreturn error; } -/** +/* * reverse_path_check - The tfile_check_list is list of file *, which have * links that are proposed to be newly added. We need to * make sure that those added links don't add too many