diff options
| author | Filipe Manana <fdmanana@suse.com> | 2023-05-29 16:16:59 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:31 +0200 |
| commit | 4d34ad34d7cc5390ec03b25f2a7f2fd5041cb7d8 (patch) | |
| tree | 8ba5f28225e31d925917cc79c7907d8ee14c65e7 /tools/perf/scripts/python | |
| parent | btrfs: remove unused is_head field from struct btrfs_delayed_ref_node (diff) | |
| download | linux-4d34ad34d7cc5390ec03b25f2a7f2fd5041cb7d8.tar.gz linux-4d34ad34d7cc5390ec03b25f2a7f2fd5041cb7d8.zip | |
btrfs: remove pointless in_tree field from struct btrfs_delayed_ref_node
The 'in_tree' field is really not needed in struct btrfs_delayed_ref_node,
as we can check whether a reference is in the tree or not simply by
checking its red black tree node member with RB_EMPTY_NODE(), as when we
remove it from the tree we always call RB_CLEAR_NODE(). So remove that
field and use RB_EMPTY_NODE().
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
