btrfs: Remove fs_info from insert_tree_block_ref
authorNikolay Borisov <nborisov@suse.com>
Wed, 20 Jun 2018 12:48:43 +0000 (15:48 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:31 +0000 (13:12 +0200)
commit10728404c6f64a570f5be95cd5b237c69d94d818
tree2a7284c24a6fd9528c5adacd731f8a9760b4695e
parentedf57cbf2b030781885e339f32e35a470d2f8eba
btrfs: Remove fs_info from insert_tree_block_ref

This function is always called with a valid transaction so there is no
need to duplicate the fs_info, we can reference it directly from the
trans handle. No functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c