summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-02-19 16:05:39 +0000
committerDavid Sterba <dsterba@suse.com>2026-04-07 18:56:00 +0200
commit01cebce71f2f90abe6a98d3066c085a34b95d96e (patch)
tree3b8901c2be150f1416a49ab9b212875bb90e2570 /tools/perf/scripts/python/bin/flamegraph-record
parent7aa1788ff09fba1db7d66b38a20051f0997b9cb9 (diff)
btrfs: remove duplicated uuid tree existence check in btrfs_uuid_tree_add()
There's no point in checking if the uuid root exists in btrfs_uuid_tree_add(), since we already do it in btrfs_uuid_tree_lookup(). We can just remove the check from btrfs_uuid_tree_add() and make btrfs_uuid_tree_lookup() return -EINVAL instead of -ENOENT in case the uuid tree does not exists. Reviewed-by: Boris Burkov <boris@bur.io> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions