diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-07-02 16:46:45 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 12:55:41 +0200 |
commit | 830258632757cad2ffb5cbc86f266ca475caf4af (patch) | |
tree | 7b8d3f46542c82d98a20938d3ea60a52f34e6a59 /lib/list-test.c | |
parent | bf28a605e626a7c0169584f22f5dc96ce92ae813 (diff) |
btrfs: raid56: use in_range where applicable
While at it use the opportunity to simplify find_logical_bio_stripe by
reducing the scope of 'stripe_start' variable and squash the
sector-to-bytes conversion on one line.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/list-test.c')
0 files changed, 0 insertions, 0 deletions