Skip to content
Commit 46df06b8 authored by David Sterba's avatar David Sterba
Browse files

btrfs: refactor block group replication factor calculation to a helper



There are many places that open code the duplicity factor of the block
group profiles, create a common helper. This can be easily extended for
more copies.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 321a4bf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment