commit | 946c9256c6fabe8d3fe8e076df1c4290dcd778f2 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri May 17 11:43:34 2019 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Jul 01 13:34:57 2019 +0200 |
tree | a238042f87da2169891449abc438bb9a3aec4de8 | |
parent | 44b28adafd1f814fbde8b53a99eee83f3b31b2d9 [diff] |
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>