Skip to content

Commit

Permalink
btrfs: document now parameter of peek_discard_list
Browse files Browse the repository at this point in the history
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>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
  • Loading branch information
Nikolay Borisov authored and David Sterba committed Feb 8, 2021
1 parent f092cf3 commit 9241969
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fs/btrfs/discard.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,12 @@ static struct btrfs_block_group *find_next_block_group(
}

/**
* peek_discard_list - wrap find_next_block_group()
* @discard_ctl: discard control
* Wrap find_next_block_group()
*
* @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
Expand Down

0 comments on commit 9241969

Please sign in to comment.