diff options
Diffstat (limited to 'kernel-lib/raid56.h')
-rw-r--r-- | kernel-lib/raid56.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel-lib/raid56.h b/kernel-lib/raid56.h index 46731bcc..2b3e9010 100644 --- a/kernel-lib/raid56.h +++ b/kernel-lib/raid56.h @@ -37,4 +37,8 @@ extern const u8 raid6_gfexp[256] __attribute__((aligned(256))); extern const u8 raid6_gfinv[256] __attribute__((aligned(256))); extern const u8 raid6_gfexi[256] __attribute__((aligned(256))); +/* Recover raid6 with 2 data stripes corrupted */ +int raid6_recov_data2(int nr_devs, size_t stripe_len, int dest1, int dest2, + void **data); + #endif |