aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-05-17 11:43:34 +0200
committerDavid Sterba <dsterba@suse.com>2019-07-01 13:34:57 +0200
commit946c9256c6fabe8d3fe8e076df1c4290dcd778f2 (patch)
treea238042f87da2169891449abc438bb9a3aec4de8 /fs/btrfs/volumes.h
parentbtrfs: use raid_attr table for btrfs_bg_type_to_factor (diff)
downloadlinux-dev-946c9256c6fabe8d3fe8e076df1c4290dcd778f2.tar.xz
linux-dev-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 '')
0 files changed, 0 insertions, 0 deletions