aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/ulist.c
diff options
context:
space:
mode:
authorDavid Sterba2018-07-13 20:46:30 +0200
committerDavid Sterba2018-08-06 13:12:53 +0200
commit46df06b85e28eaf430aa5c8f8aa26120fa746b72 (patch)
tree274185638f029f3be8da1ab56d2f84bbd98943e1 /fs/btrfs/ulist.c
parent321a4bf72b251319aa456ea542161729442b6f61 (diff)
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/ulist.c')
0 files changed, 0 insertions, 0 deletions