diff options
| author | 2019-10-18 11:58:20 +0200 | |
|---|---|---|
| committer | 2019-11-18 12:47:00 +0100 | |
| commit | 9d6cb1b0f9dfefac9cf2f62c8582aa892770b34e (patch) | |
| tree | 7a01a098f565bc91fe3fb665d241b27f548ded69 /kernel/sysctl_binary.c | |
| parent | btrfs: tracepoints: constify all pointers (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 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
