diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-10-21 14:32:55 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-11-11 16:34:20 +0300 |
commit | 7ef360488600e8b7c131306b9f5ed7e42202b487 (patch) | |
tree | ef7ad1588ad9bc9593c4ee6c65d55d9ad6ef1057 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f7d4b4924d226a9007c3a3cb14551b28a47f8767 (diff) | |
download | linux-7ef360488600e8b7c131306b9f5ed7e42202b487.tar.xz |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions