diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-06-11 12:25:48 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:58:02 +0200 |
| commit | 790b88c4dd3b5cf28a52280c1c5d10865266f0a5 (patch) | |
| tree | 414ff3f5cd99ab1fc3bc01ec5850b7a59b25cc3b /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e4e5fcbc62d0105e26b06375b62cf1a2cb54d7b6 (diff) | |
btrfs: make extent_buffer_test_bit() return a boolean instead
All the callers want is to determine if a bit is set and all of them call
the function and do a double negation (!!) on its result to get a boolean.
So change it to return a boolean and simplify callers.
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
