mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-22 07:56:33 -05:00
Avoids to use inodes in disk with UUID changed.
This commit is contained in:
parent
90d1cf01df
commit
7be2420cf3
5 changed files with 62 additions and 25 deletions
5
elem.c
5
elem.c
|
|
@ -530,8 +530,9 @@ 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->has_volatile_inodes = 0;
|
||||
disk->has_unreliable_physical = 0;
|
||||
disk->has_different_uuid = 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