summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2022-06-23 16:57:02 +0200
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:38 +0200
commitac0677348f3c2373183323f20ccfebe7cb00f9ab (patch)
treeb5a1b1284c18d2545ce2ba65dc8aebfa8246b38d /arch
parentd09cb9e18845c7ba5864282c7cc13c3cabad04f0 (diff)
downloadlinux-stable-ac0677348f3c2373183323f20ccfebe7cb00f9ab.tar.gz
linux-stable-ac0677348f3c2373183323f20ccfebe7cb00f9ab.tar.bz2
linux-stable-ac0677348f3c2373183323f20ccfebe7cb00f9ab.zip
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions