Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

nilfs2: fix inconsistencies in kernel-doc comments in segment.h

Fix incorrect or missing variable names in the member variable
descriptions in the nilfs_recovery_info and nilfs_sc_info structures,
thereby eliminating the following warnings output by the kernel-doc
script:

fs/nilfs2/segment.h:49: warning: Function parameter or struct member
'ri_cno' not described in 'nilfs_recovery_info'
fs/nilfs2/segment.h:49: warning: Function parameter or struct member
'ri_lsegs_start_seq' not described in 'nilfs_recovery_info'
fs/nilfs2/segment.h:49: warning: Excess struct member 'ri_ri_cno'
description in 'nilfs_recovery_info'
fs/nilfs2/segment.h:49: warning: Excess struct member 'ri_lseg_start_seq'
description in 'nilfs_recovery_info'
fs/nilfs2/segment.h:177: warning: Function parameter or struct member
'sc_seq_accepted' not described in 'nilfs_sc_info'
fs/nilfs2/segment.h:177: warning: Function parameter or struct member
'sc_timer_task' not described in 'nilfs_sc_info'
fs/nilfs2/segment.h:177: warning: Excess struct member 'sc_seq_accept'
description in 'nilfs_sc_info'

Link: https://lkml.kernel.org/r/20240816074319.3253-8-konishi.ryusuke@gmail.com
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Ryusuke Konishi and committed by
Andrew Morton
7876bc1b d9e5551e

+4 -3
+4 -3
fs/nilfs2/segment.h
··· 22 22 * struct nilfs_recovery_info - Recovery information 23 23 * @ri_need_recovery: Recovery status 24 24 * @ri_super_root: Block number of the last super root 25 - * @ri_ri_cno: Number of the last checkpoint 25 + * @ri_cno: Number of the last checkpoint 26 26 * @ri_lsegs_start: Region for roll-forwarding (start block number) 27 27 * @ri_lsegs_end: Region for roll-forwarding (end block number) 28 - * @ri_lseg_start_seq: Sequence value of the segment at ri_lsegs_start 28 + * @ri_lsegs_start_seq: Sequence value of the segment at ri_lsegs_start 29 29 * @ri_used_segments: List of segments to be mark active 30 30 * @ri_pseg_start: Block number of the last partial segment 31 31 * @ri_seq: Sequence number on the last partial segment ··· 107 107 * @sc_wait_daemon: Daemon wait queue 108 108 * @sc_wait_task: Start/end wait queue to control segctord task 109 109 * @sc_seq_request: Request counter 110 - * @sc_seq_accept: Accepted request count 110 + * @sc_seq_accepted: Accepted request count 111 111 * @sc_seq_done: Completion counter 112 112 * @sc_sync: Request of explicit sync operation 113 113 * @sc_interval: Timeout value of background construction ··· 115 115 * @sc_lseg_stime: Start time of the latest logical segment 116 116 * @sc_watermark: Watermark for the number of dirty buffers 117 117 * @sc_timer: Timer for segctord 118 + * @sc_timer_task: Thread woken up by @sc_timer 118 119 * @sc_task: current thread of segctord 119 120 */ 120 121 struct nilfs_sc_info {