diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2019-10-18 11:58:20 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 12:47:00 +0100 |
commit | 9d6cb1b0f9dfefac9cf2f62c8582aa892770b34e (patch) | |
tree | 7a01a098f565bc91fe3fb665d241b27f548ded69 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1d2e7c7c3ed73cc510a4dc093df2a935092ff5ad (diff) |
btrfs: raid56: reduce indentation in lock_stripe_add
In lock_stripe_add() we're traversing the stripe hash list and check if
the current list element's raid_map equals is equal to the raid bio's
raid_map. If both are equal we continue processing.
If we'd check for inequality instead of equality we can reduce one level
of indentation.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions