diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-06-20 15:49:14 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:37 +0200 |
commit | c83488afc5a772e424d8f159236bcf805b3c249c (patch) | |
tree | 40361b3b9108089778adaddcbb79593ecaff865d /fs/btrfs/ctree.h | |
parent | 61da2abfcad9c7e1a9c2f74ae7af8637d9fba36e (diff) | |
download | linux-stable-c83488afc5a772e424d8f159236bcf805b3c249c.tar.gz linux-stable-c83488afc5a772e424d8f159236bcf805b3c249c.tar.bz2 linux-stable-c83488afc5a772e424d8f159236bcf805b3c249c.zip |
btrfs: Remove fs_info from btrfs_inc_block_group_ro
It can be referenced from the passed bg cache.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index bc4bb275e339..5bb083de8f2c 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -2801,8 +2801,7 @@ int btrfs_cond_migrate_bytes(struct btrfs_fs_info *fs_info, void btrfs_block_rsv_release(struct btrfs_fs_info *fs_info, struct btrfs_block_rsv *block_rsv, u64 num_bytes); -int btrfs_inc_block_group_ro(struct btrfs_fs_info *fs_info, - struct btrfs_block_group_cache *cache); +int btrfs_inc_block_group_ro(struct btrfs_block_group_cache *cache); void btrfs_dec_block_group_ro(struct btrfs_block_group_cache *cache); void btrfs_put_block_group_cache(struct btrfs_fs_info *info); u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo); |