mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Enforce mode parity limits
This commit is contained in:
parent
114c5ab5b8
commit
5325c11b10
4 changed files with 16 additions and 6 deletions
|
|
@ -295,6 +295,9 @@ void raid_delta_gen(int nr, int *id, int *ip, int nd, size_t size, void **v)
|
|||
int np;
|
||||
void *latest;
|
||||
|
||||
/* zero buffer must be initialized prior to delta recovery */
|
||||
BUG_ON(raid_zero_block == 0);
|
||||
|
||||
/*
|
||||
* Total number of parities we are going to process
|
||||
* they are both the used and the unused ones
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue