mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 03:16:59 -05:00
Fixes a bug in check when detecting garbage data over the expected end of a file.
More extensive tests to detect the append/truncate conditions.
This commit is contained in:
parent
5baef32fb9
commit
a9255683f4
8 changed files with 204 additions and 42 deletions
1
elem.h
1
elem.h
|
|
@ -90,6 +90,7 @@ struct snapraid_file {
|
|||
uint64_t inode; /**< Inode. */
|
||||
int is_present; /**< If it's seen as present. */
|
||||
int is_excluded; /**< If it's an excluded file from the processing. */
|
||||
int is_larger; /**< If a larger file was already detected. */
|
||||
/* nodes for data structures */
|
||||
tommy_node nodelist;
|
||||
tommy_hashdyn_node nodeset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue