From b783e1f74550bbf09d85919561ec5396c9481c51 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sat, 2 Nov 2013 16:32:26 +0100 Subject: [PATCH] Changes notation from e[] to c[] for checksum/parity index. --- raid.c | 170 ++++++++++++++++++++++++++++----------------------------- raid.h | 10 ++-- 2 files changed, 90 insertions(+), 90 deletions(-) diff --git a/raid.c b/raid.c index 84bd8ea5..c65eade2 100644 --- a/raid.c +++ b/raid.c @@ -1878,10 +1878,10 @@ static inline const unsigned char* table(unsigned char v) * This is the parity expressed as Pa,Qa,Ra,Sa,Ta,Ua * in the equations. * - * Note that all the other parities not in the e[] vector + * Note that all the other parities not in the c[] vector * are destroyed. */ -static void raid_delta_gen(unsigned level, const int* d, const int* e, unsigned char** vbuf, unsigned data, unsigned char* zero, unsigned size) +static void raid_delta_gen(unsigned level, const int* d, const int* c, unsigned char** vbuf, unsigned data, unsigned char* zero, unsigned size) { unsigned char* p[6]; unsigned char* pa[6]; @@ -1891,7 +1891,7 @@ static void raid_delta_gen(unsigned level, const int* d, const int* e, unsigned for(i=0;i