mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
321a4bf72b
commit
46df06b85e
4 changed files with 24 additions and 36 deletions
Loading…
Add table
Add a link
Reference in a new issue