btrfs: Remove fs_info from btrfs_alloc_logged_file_extent

It can be referenced from trans since the function is always called
within a valid transaction.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Nikolay Borisov
2018-06-20 15:49:13 +03:00
committed by David Sterba
parent 87cc7a8a2a
commit 61da2abfca
3 changed files with 1 additions and 3 deletions

View File

@@ -715,7 +715,6 @@ static noinline int replay_one_extent(struct btrfs_trans_handle *trans,
* allocation tree
*/
ret = btrfs_alloc_logged_file_extent(trans,
fs_info,
root->root_key.objectid,
key->objectid, offset, &ins);
if (ret)