aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-07-13 20:46:30 +0200
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:53 +0200
commit46df06b85e28eaf430aa5c8f8aa26120fa746b72 (patch)
tree274185638f029f3be8da1ab56d2f84bbd98943e1 /fs/btrfs/dev-replace.c
parentbtrfs: use the assigned fs_devices instead of the dereference (diff)
downloadwireguard-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