Searched hist:"4007 ea87" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | relocation.c | 4007ea87 Thu Mar 05 00:06:29 CST 2020 Qu Wenruo <wqu@suse.com> btrfs: reloc: refactor direct tree backref processing into its own function
For BTRFS_SHARED_BLOCK_REF_KEY, its processing is straightforward, as we now the parent node bytenr directly.
If the parent is already cached, or a root, call it a day. If the parent is not cached, add it pending list.
This patch will just refactor this part into its own function, handle_direct_tree_backref() and add some comment explaining the @ref_key parameter.
Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|