mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Auto detection of fake physical offsets.
Fixes hardlink detection with not persistent inodes.
This commit is contained in:
parent
f990c7106b
commit
e8ba8c435a
4 changed files with 102 additions and 15 deletions
1
elem.c
1
elem.c
|
|
@ -524,6 +524,7 @@ struct snapraid_disk* disk_alloc(const char* name, const char* dir, uint64_t dev
|
|||
disk->device = dev;
|
||||
disk->first_free_block = 0;
|
||||
disk->has_not_persistent_inodes = 0;
|
||||
disk->has_not_reliable_physical = 0;
|
||||
disk->mapping = -1;
|
||||
tommy_list_init(&disk->filelist);
|
||||
tommy_list_init(&disk->deletedlist);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue