Move the vbuf argument as last one. No functional change.

This commit is contained in:
Andrea Mazzoleni 2013-12-26 09:28:00 +01:00
parent dd6d73374a
commit 9fa97f04fd
7 changed files with 177 additions and 177 deletions

2
sync.c
View file

@ -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, buffer, diskmax, state->block_size);
raid_par(state->level, diskmax, state->block_size, buffer);
/* write the parity */
for(l=0;l<state->level;++l) {