On 18.10.19 г. 12:58 ч., Johannes Thumshirn wrote: > 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. > > Signed-off-by: Johannes Thumshirn <jthumsh...@suse.de> After comparing before/after applying the patch I can say: Reviewed-by: Nikolay Borisov <nbori...@suse.com>
- [PATCH 0/4] Small coding style cleanups Johannes Thumshirn
- [PATCH 1/4] btrfs: reduce indentation in lock_stri... Johannes Thumshirn
- Re: [PATCH 1/4] btrfs: reduce indentation in l... Nikolay Borisov
- Re: [PATCH 1/4] btrfs: reduce indentation in l... David Sterba
- [PATCH 4/4] btrfs: remove pointless indentation in... Johannes Thumshirn
- [PATCH 3/4] btrfs: reduce indentation in btrfs_may... Johannes Thumshirn
- [PATCH 2/4] btrfs: remove pointless local variable... Johannes Thumshirn
- Re: [PATCH 0/4] Small coding style cleanups Nikolay Borisov
- Re: [PATCH 0/4] Small coding style cleanups Johannes Thumshirn
- Re: [PATCH 0/4] Small coding style cleanup... Nikolay Borisov
- Re: [PATCH 0/4] Small coding style cle... Johannes Thumshirn
- Re: [PATCH 0/4] Small coding style cleanups David Sterba