summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2024-10-21 12:32:55 +0100
committerDavid Sterba <dsterba@suse.com>2024-11-11 14:34:20 +0100
commit7ef360488600e8b7c131306b9f5ed7e42202b487 (patch)
treeef7ad1588ad9bc9593c4ee6c65d55d9ad6ef1057 /tools/perf/scripts/python/task-analyzer.py
parentf7d4b4924d226a9007c3a3cb14551b28a47f8767 (diff)
btrfs: change return type of btrfs_delayed_ref_lock() to boolean
The function only returns 0, meaning it was able to lock the delayed ref head, or -EAGAIN in case it wasn't able to lock it. So simplify this and use a boolean return type instead, returning true if it was able to lock and false otherwise. Reviewed-by: Boris Burkov <boris@bur.io> Reviewed-by: Qu Wenruo <wqu@suse.com> 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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions