diff options
author | David Sterba <dsterba@suse.com> | 2019-05-17 11:43:34 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-07-01 13:34:57 +0200 |
commit | 946c9256c6fabe8d3fe8e076df1c4290dcd778f2 (patch) | |
tree | a238042f87da2169891449abc438bb9a3aec4de8 /fs/btrfs/volumes.h | |
parent | btrfs: use raid_attr table for btrfs_bg_type_to_factor (diff) | |
download | linux-946c9256c6fabe8d3fe8e076df1c4290dcd778f2.tar.xz linux-946c9256c6fabe8d3fe8e076df1c4290dcd778f2.zip |
btrfs: factor out helper for counting data stripes
Factor the sequence of ifs to a helper, the 'data stripes' here means
the number of stripes without redundancy and parity.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
0 files changed, 0 insertions, 0 deletions