diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2021-02-04 19:22:17 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-02-09 02:46:07 +0100 |
commit | 6ab6ebb76042d3d94a7c6c447f770a28a412c68c (patch) | |
tree | 28531760c1e492df9007d2d2adf9dc80e88d446e /fs/btrfs/struct-funcs.c | |
parent | f7ef5287a63d644e62a52893af8c6cfcb5043213 (diff) |
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/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions