Test the memory block used for hashing.

This commit is contained in:
Andrea Mazzoleni 2014-02-03 19:05:22 +01:00
parent 8fb9803b34
commit a1dadcc374

2
sync.c
View file

@ -45,6 +45,8 @@ static void state_hash_process(struct snapraid_state* state, block_off_t blockst
/* buffer for reading */
buffer = malloc_nofail(state->block_size);
if (!state->opt.skip_self)
mtest_vector(1, state->block_size, &buffer);
error = 0;