Re: [PATCH] btrfs: trace: Remove unnecessary fs_info parameter for btrfs__reserve_extent event class

David Sterba
2018-04-26T13:09:18Z

On Thu, Apr 26, 2018 at 09:27:11AM +0300, Nikolay Borisov wrote:
>
>
> On 26.04.2018 09:24, Qu Wenruo wrote:
> > fs_info can be extracted from btrfs_block_group_cache, and all
> > btrfs_block_group_cache is created by btrfs_create_block_group_cache()
> > with fs_info initialized, no need to worry about NULL pointer
> > dereference.
> >
> > Signed-off-by: Qu Wenruo <wqu@suse.com>
>
> I very much hate function which take parameters solely for the purpose
> of trace points!
>
> Reviewed-by: Nikolay Borisov <nborisov@suse.com>

Added to misc-next, thanks.