mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Computes correctly the parity size when reading the content file.
This commit is contained in:
parent
8102df688b
commit
8f953903cc
1 changed files with 1 additions and 1 deletions
2
state.c
2
state.c
|
|
@ -982,7 +982,7 @@ void state_read(struct snapraid_state* state)
|
|||
|
||||
/* keep track of the max block number used in parity */
|
||||
if (v_pos > blockmax)
|
||||
blockmax = v_pos;
|
||||
blockmax = v_pos + 1;
|
||||
|
||||
/* read the hash only for 'blk/inv/chg', and not for 'new' */
|
||||
if (tag[0] != 'n') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue