mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix previous commit
This commit is contained in:
parent
3e290d49be
commit
1b8075a549
@ -885,9 +885,11 @@ const char *device_id_system_read(struct cmd_context *cmd, struct device *dev, u
|
||||
return strdup(dw->id);
|
||||
}
|
||||
return NULL;
|
||||
case DEV_ID_TYPE_NVME_EUI64:
|
||||
case DEV_ID_TYPE_NVME_NGUID:
|
||||
case DEV_ID_TYPE_NVME_UUID:
|
||||
}
|
||||
|
||||
else if (idtype == DEV_ID_TYPE_NVME_EUI64 ||
|
||||
idtype == DEV_ID_TYPE_NVME_NGUID ||
|
||||
idtype == DEV_ID_TYPE_NVME_UUID) {
|
||||
if (!(dev->flags & DEV_ADDED_NVME_WWIDS))
|
||||
dev_read_nvme_wwids(dev);
|
||||
dm_list_iterate_items(dw, &dev->wwids) {
|
||||
|
Loading…
Reference in New Issue
Block a user