diff options
author | Josef Bacik <josef@toxicpanda.com> | 2019-06-20 21:37:58 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 14:59:09 +0200 |
commit | 8484764e8587dc3defa9579b795e3f7bbf9789c5 (patch) | |
tree | 400d5ace3efafe41449a7842a8848d0f4cc49af7 /fs/btrfs/block-group.h | |
parent | btrfs: migrate the block group read/creation code (diff) | |
download | linux-8484764e8587dc3defa9579b795e3f7bbf9789c5.tar.xz linux-8484764e8587dc3defa9579b795e3f7bbf9789c5.zip |
btrfs: temporarily export btrfs_get_restripe_target
This gets used by a few different logical chunks of the block group
code, export it while we move things around.
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 4e2218f05127..2a6a8466a746 100644 --- a/fs/btrfs/block-group.h +++ b/fs/btrfs/block-group.h @@ -197,5 +197,6 @@ static inline int btrfs_block_group_cache_done( } int __btrfs_inc_block_group_ro(struct btrfs_block_group_cache *cache, int force); +u64 btrfs_get_restripe_target(struct btrfs_fs_info *fs_info, u64 flags); #endif /* BTRFS_BLOCK_GROUP_H */ |