]> git.baikalelectronics.ru Git - kernel.git/commitdiff
fs: fix jbd2_journal_try_to_free_buffers() kernel-doc comment
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 12 May 2022 07:54:32 +0000 (15:54 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jun 2022 14:36:09 +0000 (10:36 -0400)
Add the description of @folio and remove @page in function kernel-doc
comment to remove warnings found by running scripts/kernel-doc, which
is caused by using 'make W=1'.

fs/jbd2/transaction.c:2149: warning: Function parameter or member
'folio' not described in 'jbd2_journal_try_to_free_buffers'
fs/jbd2/transaction.c:2149: warning: Excess function parameter 'page'
description in 'jbd2_journal_try_to_free_buffers'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220512075432.31763-1-yang.lee@linux.alibaba.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/transaction.c

index e49bb0938376b7c5989e69e0a37ed9ee716c3205..e9c308ae475fd7ad06e06476e717da46c635fecb 100644 (file)
@@ -2114,7 +2114,7 @@ out:
 /**
  * jbd2_journal_try_to_free_buffers() - try to free page buffers.
  * @journal: journal for operation
- * @page: to try and free
+ * @folio: Folio to detach data from.
  *
  * For all the buffers on this page,
  * if they are fully written out ordered data, move them onto BUF_CLEAN