mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
44b28adafd
commit
946c9256c6
1 changed files with 15 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue