diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-05-30 18:27:07 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:53:30 +0200 |
| commit | 0187acef3558cd5bb6c0fa6c29a362a015a69d72 (patch) | |
| tree | 9f7b61baef8fd606b5e87d360f92859ba53cac69 /tools/perf/scripts/python | |
| parent | 7077d7b87288ca3a01aff84f0703927a3787dbae (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')
0 files changed, 0 insertions, 0 deletions
