btrfs: Remove fs_info argument from update_free_space_extent_count
authorNikolay Borisov <nborisov@suse.com>
Thu, 10 May 2018 12:44:49 +0000 (15:44 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:34 +0000 (18:07 +0200)
commit690d76828a000aadb99ea9d3928d85c8f63b2f82
tree91815d642f62be3f1502b85f5498b8eb9b81252a
parent5296c2bf51700451062dda22cd03c01d0104ccbc
btrfs: Remove fs_info argument from update_free_space_extent_count

This function already takes a transaction handle which has a reference
to the fs_info. So use that and remove the extra argument.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-tree.c