diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-04-12 23:42:28 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 22:31:04 +0300 |
commit | 0eea355fc0f48916f29d1f066d06df49f075a593 (patch) | |
tree | e6b9f2ce12c3c49ebc7a14e1747e70062ec78a98 /net/ethtool | |
parent | 26c0fae3e72ff1cf269891aae75c762dc04ee1dd (diff) | |
download | linux-0eea355fc0f48916f29d1f066d06df49f075a593.tar.xz |
btrfs: add a helper to get the delayed ref node from the data/tree ref
We have several different ways we refer to references throughout the
code and it's not consistent and there's a bit of duplication. In order
to clean this up I want to have one structure we use to define reference
information, and one structure we use for the delayed reference
information. Start this process by adding a helper to get from the
btrfs_delayed_data_ref/btrfs_delayed_tree_ref to the
btrfs_delayed_ref_node so that it'll make moving these structures around
simpler.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
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 'net/ethtool')
0 files changed, 0 insertions, 0 deletions