summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/block-group.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-06-20 21:37:54 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:08 +0200
commit3b2a78f21d5c53ff34b8e03cba4f904c91d4b3a2 (patch)
tree51cbbf39ec899933cec45903c9783220f98828c5 /fs/btrfs/block-group.h
parentbtrfs: migrate the block group caching code (diff)
downloadlinux-3b2a78f21d5c53ff34b8e03cba4f904c91d4b3a2.tar.xz
linux-3b2a78f21d5c53ff34b8e03cba4f904c91d4b3a2.zip
btrfs: temporarily export inc_block_group_ro
This is used in a few logical parts of the block group code, temporarily export it so we can move things in pieces. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/block-group.h b/fs/btrfs/block-group.h
index 80b388ece277..143baaa54684 100644
--- a/fs/btrfs/block-group.h
+++ b/fs/btrfs/block-group.h
@@ -185,4 +185,6 @@ static inline int btrfs_block_group_cache_done(
cache->cached == BTRFS_CACHE_ERROR;
}
+int __btrfs_inc_block_group_ro(struct btrfs_block_group_cache *cache, int force);
+
#endif /* BTRFS_BLOCK_GROUP_H */