mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Ensures that checked_read is really initialized.
This commit is contained in:
parent
05d5fc7e3f
commit
8c750d0039
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ void state_init(struct snapraid_state* state)
|
|||
state->filter_hidden = 0;
|
||||
state->autosave = 0;
|
||||
state->need_write = 0;
|
||||
state->checked_read = 0;
|
||||
state->block_size = 256 * 1024; /* default 256 KiB */
|
||||
state->raid_mode = RAID_MODE_CAUCHY;
|
||||
for(l=0;l<LEV_MAX;++l) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue