diff options
author | 2021-11-05 16:45:36 -0400 | |
---|---|---|
committer | 2022-01-03 15:09:47 +0100 | |
commit | dfe8aec4520bff8e69c8704421ef7f47c65ca778 (patch) | |
tree | ff53ef7a123ce4bbfe552c44f6b54d17e4738d9c /fs/btrfs/tree-defrag.c | |
parent | btrfs: remove BUG_ON(!eie) in find_parent_nodes (diff) | |
download | wireguard-linux-dfe8aec4520bff8e69c8704421ef7f47c65ca778.tar.xz wireguard-linux-dfe8aec4520bff8e69c8704421ef7f47c65ca778.zip |
btrfs: add a btrfs_block_group_root() helper
With extent tree v2 we will have a separate root to hold the block group
items. Add a btrfs_block_group_root() that will return the appropriate
root given the flags of the fs, and convert all functions that need to
modify block group items to use the helper.
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/tree-defrag.c')
0 files changed, 0 insertions, 0 deletions