aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2022-06-23 16:57:00 +0200
committerDavid Sterba <[email protected]>2022-07-25 17:45:38 +0200
commitd09cb9e18845c7ba5864282c7cc13c3cabad04f0 (patch)
treec8f4e6852f9ad5c8e578afcedd372f7ecede4f29 /fs/btrfs/dev-replace.c
parente26b04c4c91925dba57324db177a24e18e2d0013 (diff)
btrfs: use mask for all RAID1* profiles in btrfs_calc_avail_data_space
There's a sequence of hard coded values for RAID1 profiles that are already stored in the raid_attr table that should be used instead. 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