diff options
author | 2022-04-13 16:20:42 +0100 | |
---|---|---|
committer | 2022-05-16 17:03:13 +0200 | |
commit | 8b01f931c140a943e837d86a9b82f0910629492e (patch) | |
tree | 8f52b7a14ef3ccf1c78fa76390627503f68d254c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: use a read/write lock for protecting the block groups tree (diff) | |
download | linux-dev-8b01f931c140a943e837d86a9b82f0910629492e.tar.xz linux-dev-8b01f931c140a943e837d86a9b82f0910629492e.zip |
btrfs: return block group directly at btrfs_next_block_group()
At btrfs_next_block_group(), we have this long line with two statements:
cache = btrfs_lookup_first_block_group(...); return cache;
This makes it a bit harder to read due to two statements on the same
line, so change that to directly return the result of the call to
btrfs_lookup_first_block_group().
Reviewed-by: Nikolay Borisov <nborisov@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-postgresql.py')
0 files changed, 0 insertions, 0 deletions