Searched hist:"9 d6cb1b0f9dfefac9cf2f62c8582aa892770b34e" (Results 1 – 1 of 1) sorted by relevance
/linux/fs/btrfs/ |
H A D | raid56.c | diff 9d6cb1b0f9dfefac9cf2f62c8582aa892770b34e Fri Oct 18 11:58:20 CEST 2019 Johannes Thumshirn <jthumshirn@suse.de> 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>
|