1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

device: remove log_debug for nvme device

This commit is contained in:
David Teigland 2023-11-09 13:31:01 -06:00
parent e71b663bf5
commit db03270135

View File

@ -358,10 +358,8 @@ static int _add_alias(struct device *dev, const char *path, enum add_hash hash)
return 0;
}
if (!strncmp(path, "/dev/nvme", 9)) {
log_debug("Found nvme device %s", dev_name(dev));
if (!strncmp(path, "/dev/nvme", 9))
dev->flags |= DEV_IS_NVME;
}
sl->str = path;