btrfs: trace: Remove unnecessary fs_info parameter for btrfs__reserve_extent event...
authorQu Wenruo <wqu@suse.com>
Thu, 26 Apr 2018 06:24:25 +0000 (14:24 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:27 +0000 (18:07 +0200)
commit3dca5c942dac60164e6a6e89172f25b86af07ce7
treefb8be8375ae9ce77a5312bf999f78ab57338eb01
parent9113493e3ad66211967a81fd4498bccfc85d1ef3
btrfs: trace: Remove unnecessary fs_info parameter for btrfs__reserve_extent event class

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>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
include/trace/events/btrfs.h