mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 07:26:29 -05:00
Unified the two --force-realloc logics
This commit is contained in:
parent
966583e6f0
commit
f89d5fa4f3
3 changed files with 25 additions and 18 deletions
|
|
@ -1820,7 +1820,7 @@ int snapraid_main(int argc, char* argv[])
|
|||
|
||||
/* mark the files that have to be reallocated */
|
||||
/* it will happen in inside scan_file_keep() called in state_scan() */
|
||||
if (state.opt.force_realloc && opt.parity_tail != 0)
|
||||
if (state.opt.force_realloc)
|
||||
state_locate_mark_tail_blocks_for_resync(&state, opt.parity_tail);
|
||||
|
||||
state_scan(&state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue