btrfs-progs: raid56: Allow raid6 to recover 2 data stripes
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 25 May 2017 06:21:48 +0000 (14:21 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jul 2017 11:35:11 +0000 (13:35 +0200)
commit9604ce49d651176349421e4f63916cd7b7c5b09c
treeac7c965092eafbd024d2bc0227ccd6881f57dbd7
parent084d1524079ad30bae75c2fdbb7b46e711f46042
btrfs-progs: raid56: Allow raid6 to recover 2 data stripes

Copied from kernel lib/raid6/recov.c raid6_2data_recov_intx1() function.
With the following modification:
- Rename to raid6_recov_data2() for shorter name
- s/kfree/free/g modification

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Makefile
kernel-lib/raid56.c [moved from raid56.c with 71% similarity]
kernel-lib/raid56.h