btrfs: Remove fs_info parameter from convert_free_space_to_extents
This function always takes a transaction handle which contains a reference to fs_info. So use that and kill 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>
This commit is contained in:

committed by
David Sterba

parent
719fb4de55
commit
5296c2bf51
@@ -131,7 +131,7 @@ static int check_free_space_extents(struct btrfs_trans_handle *trans,
|
||||
|
||||
/* Flip it to the other format and check that for good measure. */
|
||||
if (flags & BTRFS_FREE_SPACE_USING_BITMAPS) {
|
||||
ret = convert_free_space_to_extents(trans, fs_info, cache, path);
|
||||
ret = convert_free_space_to_extents(trans, cache, path);
|
||||
if (ret) {
|
||||
test_msg("Could not convert to extents\n");
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user