Skip to content

Commit 715a67f

Browse files
Yang Litytso
authored andcommitted
jbd2: fix kernel-doc descriptions for jbd2_journal_shrink_{scan,count}()
Add the description of @shrink and @sc in jbd2_journal_shrink_scan() and jbd2_journal_shrink_count() kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. fs/jbd2/journal.c:1296: warning: Function parameter or member 'shrink' not described in 'jbd2_journal_shrink_scan' fs/jbd2/journal.c:1296: warning: Function parameter or member 'sc' not described in 'jbd2_journal_shrink_scan' fs/jbd2/journal.c:1320: warning: Function parameter or member 'shrink' not described in 'jbd2_journal_shrink_count' fs/jbd2/journal.c:1320: warning: Function parameter or member 'sc' not described in 'jbd2_journal_shrink_count' Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 7c268d4 commit 715a67f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fs/jbd2/journal.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,6 +1287,8 @@ static int jbd2_min_tag_size(void)
12871287

12881288
/**
12891289
* jbd2_journal_shrink_scan()
1290+
* @shrink: shrinker to work on
1291+
* @sc: reclaim request to process
12901292
*
12911293
* Scan the checkpointed buffer on the checkpoint list and release the
12921294
* journal_head.
@@ -1312,6 +1314,8 @@ static unsigned long jbd2_journal_shrink_scan(struct shrinker *shrink,
13121314

13131315
/**
13141316
* jbd2_journal_shrink_count()
1317+
* @shrink: shrinker to work on
1318+
* @sc: reclaim request to process
13151319
*
13161320
* Count the number of checkpoint buffers on the checkpoint list.
13171321
*/

0 commit comments

Comments
 (0)