mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 15:06:34 -05:00
Align data disk UUID validation and write logic with parity splits using content_uuid
This commit is contained in:
parent
645a587bdf
commit
f0e2f80017
3 changed files with 25 additions and 14 deletions
|
|
@ -1550,7 +1550,7 @@ struct snapraid_map* map_alloc(const char* name, unsigned position, block_off_t
|
|||
map->position = position;
|
||||
map->total_blocks = total_blocks;
|
||||
map->free_blocks = free_blocks;
|
||||
pathcpy(map->uuid, sizeof(map->uuid), uuid);
|
||||
pathcpy(map->content_uuid, sizeof(map->content_uuid), uuid);
|
||||
|
||||
return map;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue