mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 06:56:28 -05:00
Changes come comments. No functionality change.
This commit is contained in:
parent
04a8a94f9e
commit
1314f12d64
3 changed files with 11 additions and 10 deletions
2
check.c
2
check.c
|
|
@ -314,7 +314,7 @@ static int repair(struct snapraid_state* state, unsigned pos, unsigned diskmax,
|
|||
memset(buffer[failed[j].index], 0, state->block_size);
|
||||
/* note that from now the buffer is definitively lost */
|
||||
/* we can do this only because it's the last retry of recovering */
|
||||
|
||||
|
||||
/* mark that we have restored an old state */
|
||||
failed[j].is_outofdate = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue