diff options
author | Josef Bacik <josef@toxicpanda.com> | 2019-06-20 21:37:51 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 14:59:04 +0200 |
commit | caa4efafcf037d3881436f2b7ad818cdacebb8a1 (patch) | |
tree | a83fa59ef19fca74d5effb471bca7a8a7f8638b8 /fs/btrfs/block-group.h | |
parent | btrfs: export the caching control helpers (diff) | |
download | linux-caa4efafcf037d3881436f2b7ad818cdacebb8a1.tar.xz linux-caa4efafcf037d3881436f2b7ad818cdacebb8a1.zip |
btrfs: temporarily export fragment_free_space
This is used in caching and reading block groups, so export it while we
move these chunks independently.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/block-group.h b/fs/btrfs/block-group.h index 3f8b6ffefb8a..ef101fd52158 100644 --- a/fs/btrfs/block-group.h +++ b/fs/btrfs/block-group.h @@ -149,6 +149,7 @@ static inline int btrfs_should_fragment_free_space( (btrfs_test_opt(fs_info, FRAGMENT_DATA) && block_group->flags & BTRFS_BLOCK_GROUP_DATA); } +void btrfs_fragment_free_space(struct btrfs_block_group_cache *block_group); #endif struct btrfs_block_group_cache *btrfs_lookup_first_block_group( |