diff mbox series

[v2,06/14] btrfs: Document now parameter of peek_discard_list

Message ID 20210120102526.310486-7-nborisov@suse.com (mailing list archive)
State New, archived
Headers show
Series Make btrfs W=1 clean | expand

Commit Message

Nikolay Borisov Jan. 20, 2021, 10:25 a.m. UTC
Fixes fs/btrfs/discard.c:203: warning: Function parameter or member 'now' not described in 'peek_discard_list'

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
 fs/btrfs/discard.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/btrfs/discard.c b/fs/btrfs/discard.c
index 2b8383d41144..0b9f69f6de56 100644
--- a/fs/btrfs/discard.c
+++ b/fs/btrfs/discard.c
@@ -186,9 +186,10 @@  static struct btrfs_block_group *find_next_block_group(
 
 /**
  * peek_discard_list - wrap find_next_block_group()
- * @discard_ctl: discard control
+ * @discard_ctl:   discard control
  * @discard_state: the discard_state of the block_group after state management
  * @discard_index: the discard_index of the block_group after state management
+ * @now:           time when discard was invoked, in ns
  *
  * This wraps find_next_block_group() and sets the block_group to be in use.
  * discard_state's control flow is managed here.  Variables related to