David Sterba ac0677348f btrfs: merge calculations for simple striped profiles in btrfs_rmap_block
Use the same expression for stripe_nr for RAID0 (map->sub_stripes is 1)
and RAID10 (map->sub_stripes is 2), with equivalent results.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-07-25 17:45:38 +02:00
..
2022-07-25 17:45:33 +02:00
2021-06-22 14:11:57 +02:00
2022-07-25 17:45:33 +02:00
2022-05-24 19:55:07 -07:00
2022-05-24 19:55:07 -07:00
2022-07-25 17:45:37 +02:00