diff options
author | David Sterba <dsterba@suse.com> | 2019-03-20 16:11:21 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 20:02:46 +0300 |
commit | 2ccf545e0db9398d0459915a94cb995c9fd5c570 (patch) | |
tree | 6a3a33bfe56386c2852976b5a6ff2b364fc61b34 /fs/btrfs/free-space-tree.h | |
parent | 2ceeae2e4c4c3be9d52e84909e3882302002bb9c (diff) | |
download | linux-2ccf545e0db9398d0459915a94cb995c9fd5c570.tar.xz |
btrfs: get fs_info from block group in search_free_space_info
We can read fs_info from the block group cache structure and can drop it
from the parameters. Though the transaction is also availabe, it's not
guaranteed to be non-NULL.
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 3133651d7d70..22b7602bde25 100644 --- a/fs/btrfs/free-space-tree.h +++ b/fs/btrfs/free-space-tree.h @@ -30,7 +30,6 @@ int remove_from_free_space_tree(struct btrfs_trans_handle *trans, #ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS struct btrfs_free_space_info * search_free_space_info(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, struct btrfs_block_group_cache *block_group, struct btrfs_path *path, int cow); int __add_to_free_space_tree(struct btrfs_trans_handle *trans, |