Adds filter exclusion.

Some refactoring.
This commit is contained in:
Andrea Mazzoleni 2011-03-16 23:52:10 +01:00
parent c2d113685e
commit b9b8fd0bb8
24 changed files with 687 additions and 217 deletions

2
sync.c
View file

@ -155,7 +155,7 @@ void state_sync(struct snapraid_state* state, block_off_t blockstart)
exit(EXIT_FAILURE);
}
snprintf(path, sizeof(path), "%s", state->parity);
pathcpy(path, sizeof(path), state->parity);
f = parity_create(path, size);
state_sync_process(state, f, blockstart, blockmax);