mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 23:46:27 -05:00
Detects the case of physical offsets not reported beucase the file doesn't have one.
This commit is contained in:
parent
cffbba8aee
commit
6deecb26de
6 changed files with 36 additions and 10 deletions
2
scan.c
2
scan.c
|
|
@ -974,7 +974,7 @@ void state_scan(struct snapraid_state* state, int output)
|
|||
|
||||
/* if the file is not empty, count duplicate physical offsets */
|
||||
if (state->opt.force_order == SORT_PHYSICAL && file->size != 0) {
|
||||
if (phy_count > 0 && file->physical == phy_last)
|
||||
if (phy_count > 0 && file->physical == phy_last && phy_last != FILEPHY_WITHOUT_OFFSET)
|
||||
++phy_dup;
|
||||
phy_last = file->physical;
|
||||
++phy_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue