diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-10 14:44:54 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:35 +0200 |
commit | 25a356d3f69fe5a1f6477227b9c4f853f763fe78 (patch) | |
tree | f889b5c3a71c86ed21df75994d000c63c21b9f73 /fs/btrfs/free-space-tree.h | |
parent | btrfs: Remove fs_info argument from __remove_from_free_space_tree (diff) | |
download | linux-25a356d3f69fe5a1f6477227b9c4f853f763fe78.tar.xz linux-25a356d3f69fe5a1f6477227b9c4f853f763fe78.zip |
btrfs: Remove fs_info argument from remove_from_free_space_tree
This function alreay takes a transaction handle which holds a reference
to the fs_info. 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>
Diffstat (limited to 'fs/btrfs/free-space-tree.h')
-rw-r--r-- | fs/btrfs/free-space-tree.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-tree.h b/fs/btrfs/free-space-tree.h index ca3ad610a8d0..95916320abec 100644 --- a/fs/btrfs/free-space-tree.h +++ b/fs/btrfs/free-space-tree.h @@ -26,7 +26,6 @@ int add_to_free_space_tree(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 start, u64 size); int remove_from_free_space_tree(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, u64 start, u64 size); #ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS |