aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2022-05-31 16:06:42 +0100
committerDavid Sterba <[email protected]>2022-07-25 17:44:36 +0200
commitc9d02ab4b436cd6a40e772b0b727a8de6cea9d4a (patch)
tree9a4a980a8202cb34304acab5631550f8aebfe5a2 /tools/perf/scripts/python
parent3bae13e9d42eae0fea7afd6a9aea6b4fe81770ad (diff)
btrfs: set delayed item type when initializing it
Currently we set the type of a delayed item only after successfully inserting it into its respective rbtree. This is fine, as the type is not used anywhere before that point, but for the next patch in the series, there will be the need to check the type of a delayed item before inserting it into a rbtree. So set the type of a delayed item immediately after allocating it. This also makes the trivial wrappers for adding insertion and deletion useless, so it removes them as well. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions