mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Test the memory block used for hashing.
This commit is contained in:
parent
8fb9803b34
commit
a1dadcc374
1 changed files with 2 additions and 0 deletions
2
sync.c
2
sync.c
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue