diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2021-02-04 11:22:17 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-02-09 02:46:07 +0100 |
commit | 6ab6ebb76042d3d94a7c6c447f770a28a412c68c (patch) | |
tree | 28531760c1e492df9007d2d2adf9dc80e88d446e /fs/btrfs/zoned.h | |
parent | btrfs: zoned: relocate block group to repair IO failure in zoned filesystems (diff) | |
download | linux-6ab6ebb76042d3d94a7c6c447f770a28a412c68c.tar.xz linux-6ab6ebb76042d3d94a7c6c447f770a28a412c68c.zip |
btrfs: split alloc_log_tree()
This is a preparation patch for the next patch. Split alloc_log_tree()
into two parts. The first one allocating the tree structure, remains in
alloc_log_tree() and the second part allocating the tree node, which is
moved into btrfs_alloc_log_tree_node().
Also export the latter part is to be used in the next patch.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/zoned.h')
0 files changed, 0 insertions, 0 deletions