diff options
| author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2026-03-18 08:17:00 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 18:56:05 +0200 |
| commit | 390aa432f3268c0947f903ab2d60ae2c7cafd11b (patch) | |
| tree | 9c7067d6f0fb473e36aa64e9660b7726d42c9108 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 9a04488473102f08f078653de51bb0b8291087aa (diff) | |
btrfs: decrease indentation of find_free_extent_update_loop
Decrease the indentation of find_free_extent_update_loop(), by inverting
the check if the loop state is smaller than LOOP_NO_EMPTY_SIZE.
This also allows for an early return from find_free_extent_update_loop(),
in case LOOP_NO_EMPTY_SIZE is already set at this point.
While at it change a
if () {
}
else if
else
pattern to all using curly braces and be consistent with the rest of btrfs
code.
Also change 'int exists' to 'bool have_trans' giving it a more meaningful
name and type.
No functional changes intended.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.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
