diff options
author | Josef Bacik <josef@toxicpanda.com> | 2019-06-20 21:37:46 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 14:59:04 +0200 |
commit | 3cad128400c2445d9140c0f5720018e075ef66c6 (patch) | |
tree | 43632afb0ad6869ff72eac40183aaf03240bf7c9 /fs/btrfs/block-group.h | |
parent | btrfs: migrate the block group lookup code (diff) | |
download | linux-3cad128400c2445d9140c0f5720018e075ef66c6.tar.xz linux-3cad128400c2445d9140c0f5720018e075ef66c6.zip |
btrfs: migrate the block group ref counting stuff
Another easy set to move over to block-group.c.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-group.h')
-rw-r--r-- | fs/btrfs/block-group.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/block-group.h b/fs/btrfs/block-group.h index 87bac0d5ad69..f7c7d1ac6d9b 100644 --- a/fs/btrfs/block-group.h +++ b/fs/btrfs/block-group.h @@ -157,5 +157,7 @@ struct btrfs_block_group_cache *btrfs_lookup_block_group( struct btrfs_fs_info *info, u64 bytenr); struct btrfs_block_group_cache *btrfs_next_block_group( struct btrfs_block_group_cache *cache); +void btrfs_get_block_group(struct btrfs_block_group_cache *cache); +void btrfs_put_block_group(struct btrfs_block_group_cache *cache); #endif /* BTRFS_BLOCK_GROUP_H */ |