diff options
author | Josef Bacik | 2024-04-13 00:07:06 -0400 |
---|---|---|
committer | David Sterba | 2024-05-07 21:31:05 +0200 |
commit | efc7d5dbf8b42eb53db31443520e979b05cd1908 (patch) | |
tree | 048cd4b46c0b04cf1c01ec38c063f8cd51cc649e /include/trace | |
parent | 44cc2e38e67b7b7551e923571ef6ea51f3ae1e05 (diff) |
btrfs: stop referencing btrfs_delayed_tree_ref directly
We only ever need to use this to get the level of the tree block ref, so
use the btrfs_delayed_ref_owner() helper, which returns the level for
the given reference.
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 'include/trace')
-rw-r--r-- | include/trace/events/btrfs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/trace/events/btrfs.h b/include/trace/events/btrfs.h index 89fa96fd95b4..8f2497603cb5 100644 --- a/include/trace/events/btrfs.h +++ b/include/trace/events/btrfs.h @@ -16,7 +16,6 @@ struct extent_map; struct btrfs_file_extent_item; struct btrfs_ordered_extent; struct btrfs_delayed_ref_node; -struct btrfs_delayed_tree_ref; struct btrfs_delayed_ref_head; struct btrfs_block_group; struct btrfs_free_cluster; |