aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2022-06-23 16:57:02 +0200
committerDavid Sterba <[email protected]>2022-07-25 17:45:38 +0200
commitac0677348f3c2373183323f20ccfebe7cb00f9ab (patch)
treeb5a1b1284c18d2545ce2ba65dc8aebfa8246b38d /fs/btrfs/dev-replace.c
parentd09cb9e18845c7ba5864282c7cc13c3cabad04f0 (diff)
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 <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions