]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: factor out helper for counting data stripes
authorDavid Sterba <dsterba@suse.com>
Fri, 17 May 2019 09:43:34 +0000 (11:43 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:34:57 +0000 (13:34 +0200)
commit51291aef8327e191046c2d5a51163d801a1e0904
treea238042f87da2169891449abc438bb9a3aec4de8
parent97b2b2d9fa1ecd43f3c286c30e7d4f69b90de919
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>
fs/btrfs/volumes.c