mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 04:17:02 -05:00
Refactors vector operations.
This commit is contained in:
parent
29b411e3fe
commit
cae803bdfb
10 changed files with 75 additions and 76 deletions
1
speed.c
1
speed.c
|
|
@ -81,7 +81,6 @@ void speed(void)
|
|||
void *v_alloc;
|
||||
void **v;
|
||||
|
||||
/* we need disk + 1 for each parity buffers + 1 zero v */
|
||||
nv = nd + RAID_PARITY_MAX + 1;
|
||||
|
||||
v = malloc_nofail_vector_align(nd, nv, size, &v_alloc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue