diff options
author | 2018-07-13 20:46:30 +0200 | |
---|---|---|
committer | 2018-08-06 13:12:53 +0200 | |
commit | 46df06b85e28eaf430aa5c8f8aa26120fa746b72 (patch) | |
tree | 274185638f029f3be8da1ab56d2f84bbd98943e1 /fs/btrfs/dev-replace.c | |
parent | btrfs: use the assigned fs_devices instead of the dereference (diff) | |
download | wireguard-linux-46df06b85e28eaf430aa5c8f8aa26120fa746b72.tar.xz wireguard-linux-46df06b85e28eaf430aa5c8f8aa26120fa746b72.zip |
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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions