diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-10 15:44:55 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:36 +0200 |
commit | e7355e501df48987a6646cb4ae6b0eafb4f48149 (patch) | |
tree | fb1be5a7255baf757d1f3956c91441e04f288d4c /fs/btrfs/extent-tree.c | |
parent | 25a356d3f69fe5a1f6477227b9c4f853f763fe78 (diff) | |
download | lwn-e7355e501df48987a6646cb4ae6b0eafb4f48149.tar.gz lwn-e7355e501df48987a6646cb4ae6b0eafb4f48149.zip |
btrfs: Remove fs_info argument from add_to_free_space_tree
This function takes a transaction handle which already contains a
reference to the fs_info. So use it and remove the extra function
argument.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 70f6dc7ca010..5be54cedb56f 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -7127,7 +7127,7 @@ static int __btrfs_free_extent(struct btrfs_trans_handle *trans, } } - ret = add_to_free_space_tree(trans, info, bytenr, num_bytes); + ret = add_to_free_space_tree(trans, bytenr, num_bytes); if (ret) { btrfs_abort_transaction(trans, ret); goto out; |