mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 17:36:26 -05:00
Reverses the order of np/nd in raid_par() for consistency with other funcs.
This commit is contained in:
parent
e80a5e868f
commit
305b52d32a
6 changed files with 19 additions and 19 deletions
2
sync.c
2
sync.c
|
|
@ -386,7 +386,7 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
|
|||
/* updates the parity only if really needed */
|
||||
if (parity_needs_to_be_updated) {
|
||||
/* compute the parity */
|
||||
raid_par(state->level, diskmax, state->block_size, buffer);
|
||||
raid_par(diskmax, state->level, state->block_size, buffer);
|
||||
|
||||
/* write the parity */
|
||||
for(l=0;l<state->level;++l) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue