summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-05-29 16:16:59 +0100
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:31 +0200
commit4d34ad34d7cc5390ec03b25f2a7f2fd5041cb7d8 (patch)
tree8ba5f28225e31d925917cc79c7907d8ee14c65e7 /tools/perf/scripts/python/export-to-postgresql.py
parent53499d5f6b68766317a62b1513e9386c2584e97c (diff)
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions