summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-05-30 18:27:07 +0100
committerDavid Sterba <dsterba@suse.com>2025-07-21 23:53:30 +0200
commit0187acef3558cd5bb6c0fa6c29a362a015a69d72 (patch)
tree9f7b61baef8fd606b5e87d360f92859ba53cac69 /tools/perf/scripts/python/flamegraph.py
parent7077d7b87288ca3a01aff84f0703927a3787dbae (diff)
btrfs: make btrfs_delete_delayed_insertion_item() return a boolean
There's no need to return an integer as all we need to do is return true or false to tell whether we deleted a delayed item or not. Also the logic is inverted since we return 1 (true) if we didn't delete and 0 (false) if we did, which is somewhat counter intuitive. Change the return type to a boolean and make it return true if we deleted and false otherwise. Reviewed-by: Boris Burkov <boris@bur.io> 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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions