OSDN Git Service

btrfs: Remove fs_info argument from __btrfs_inc_extent_ref
authorNikolay Borisov <nborisov@suse.com>
Wed, 20 Jun 2018 12:48:59 +0000 (15:48 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:35 +0000 (13:12 +0200)
commit2590d0f155c7c133b0c05048526ccc0a8dd5e9e4
tree7df786fb947a02fdce6de4c7f55eec01300cbc49
parentef89b8245bc77a29f31cad2dec5be5f50d3a7c2b
btrfs: Remove fs_info argument from __btrfs_inc_extent_ref

This function already takes a transaction which holds a reference to
the fs_info struct. Use that reference and remove the extra arg. 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