Re: [PATCH 06/13] btrfs: Document now parameter of peek_discard_list
From: David Sterba <hidden>
Date: 2021-01-19 22:48:54
On Tue, Jan 19, 2021 at 02:26:42PM +0200, Nikolay Borisov wrote:
quoted hunk ↗ jump to hunk
Fixes fs/btrfs/discard.c:203: warning: Function parameter or member 'now' not described in 'peek_discard_list' Signed-off-by: Nikolay Borisov <redacted> --- fs/btrfs/discard.c | 1 + 1 file changed, 1 insertion(+)diff --git a/fs/btrfs/discard.c b/fs/btrfs/discard.c index 2b8383d41144..bfe53eb4c1f3 100644 --- a/fs/btrfs/discard.c +++ b/fs/btrfs/discard.c@@ -189,6 +189,7 @@ static struct btrfs_block_group *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
Please follow the formatting, no uppercase letter in 'Time'
* * 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 -- 2.25.1