aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/block-group.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-06-20 15:37:50 -0400
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:04 +0200
commite3cb339fa5ca57cfa5429bf3da548331dce93038 (patch)
tree8c9eed80494cd3fd6c8035f80d7cefc276a9aaf2 /fs/btrfs/block-group.h
parentbtrfs: export the excluded extents helpers (diff)
downloadlinux-dev-e3cb339fa5ca57cfa5429bf3da548331dce93038.tar.xz
linux-dev-e3cb339fa5ca57cfa5429bf3da548331dce93038.zip
btrfs: export the caching control helpers
Man a lot of people use this stuff. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/block-group.h b/fs/btrfs/block-group.h
index 7069bcfc5e8f..3f8b6ffefb8a 100644
--- a/fs/btrfs/block-group.h
+++ b/fs/btrfs/block-group.h
@@ -170,6 +170,9 @@ void btrfs_wait_block_group_cache_progress(struct btrfs_block_group_cache *cache
int btrfs_wait_block_group_cache_done(struct btrfs_block_group_cache *cache);
int btrfs_cache_block_group(struct btrfs_block_group_cache *cache,
int load_cache_only);
+void btrfs_put_caching_control(struct btrfs_caching_control *ctl);
+struct btrfs_caching_control *btrfs_get_caching_control(
+ struct btrfs_block_group_cache *cache);
static inline int btrfs_block_group_cache_done(
struct btrfs_block_group_cache *cache)