summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-07-13 21:46:30 +0300
committerDavid Sterba <dsterba@suse.com>2018-08-06 14:12:53 +0300
commit46df06b85e28eaf430aa5c8f8aa26120fa746b72 (patch)
tree274185638f029f3be8da1ab56d2f84bbd98943e1 /scripts/gdb/linux/utils.py
parent321a4bf72b251319aa456ea542161729442b6f61 (diff)
downloadlinux-46df06b85e28eaf430aa5c8f8aa26120fa746b72.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions