diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-10 15:44:45 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:33 +0200 |
commit | 4457c1c702fa1cb2f032bae6dfa0dd2f84ff2b5c (patch) | |
tree | 7f6274d560dfd1b188022010ab4fe6e130d20808 /fs/btrfs/ctree.h | |
parent | 66afee18485932ab1f6000eb37c8605175b5339e (diff) | |
download | linux-stable-4457c1c702fa1cb2f032bae6dfa0dd2f84ff2b5c.tar.gz linux-stable-4457c1c702fa1cb2f032bae6dfa0dd2f84ff2b5c.tar.bz2 linux-stable-4457c1c702fa1cb2f032bae6dfa0dd2f84ff2b5c.zip |
btrfs: Remove fs_info argument from add_new_free_space
This function also takes a btrfs_block_group_cache which contains a
referene to the fs_info. So 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/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 27aa9b58b001..954bfb5054b1 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2832,7 +2832,7 @@ void btrfs_wait_for_snapshot_creation(struct btrfs_root *root); void check_system_chunk(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, const u64 type); u64 add_new_free_space(struct btrfs_block_group_cache *block_group, - struct btrfs_fs_info *info, u64 start, u64 end); + u64 start, u64 end); /* ctree.c */ int btrfs_bin_search(struct extent_buffer *eb, const struct btrfs_key *key, |