btrfs: Remove fs_info argument from add_free_space_extent
authorNikolay Borisov <nborisov@suse.com>
Thu, 10 May 2018 12:44:51 +0000 (15:44 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:35 +0000 (18:07 +0200)
commit5cb1782213006868cf29287f8ac4160491f740f0
treea11481f5e748e52da9efa5e5454d62f2dee03a86
parent85a7ef130cf5e31da4a4fa22120c1e32f4370cae
btrfs: Remove fs_info argument from add_free_space_extent

This function always takes a transaction handle which references the
fs_info structure. 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