mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
o zero all of uuid
This commit is contained in:
parent
50a7923438
commit
4302b7ff6b
@ -507,6 +507,7 @@ int export_uuids(struct disk_list *dl, struct volume_group *vg)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(&ul->uuid, 0, NAME_LEN);
|
||||||
memcpy(&ul->uuid, &pvl->pv.id.uuid, ID_LEN);
|
memcpy(&ul->uuid, &pvl->pv.id.uuid, ID_LEN);
|
||||||
ul->uuid[ID_LEN] = '\0';
|
ul->uuid[ID_LEN] = '\0';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user