From a8696ee72a9fde627921a9de00da62f99aeb71e6 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 29 Aug 2024 23:05:52 +0200 Subject: [PATCH] libdm: check for queue name Fix typo and check for queue string within sysfs kernel name. --- device_mapper/libdm-common.c | 2 +- libdm/libdm-common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/device_mapper/libdm-common.c b/device_mapper/libdm-common.c index 9856e6ebe..19839d8ee 100644 --- a/device_mapper/libdm-common.c +++ b/device_mapper/libdm-common.c @@ -1961,7 +1961,7 @@ static int _sysfs_find_kernel_name(uint32_t major, uint32_t minor, char *buf, si !strcmp(name_dev, "holders") || !strcmp(name_dev, "integrity") || !strcmp(name_dev, "loop") || - !strcmp(name_dev, "queueu") || + !strcmp(name_dev, "queue") || !strcmp(name_dev, "md") || !strcmp(name_dev, "mq") || !strcmp(name_dev, "power") || diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index 48724b38f..faf100172 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -1960,7 +1960,7 @@ static int _sysfs_find_kernel_name(uint32_t major, uint32_t minor, char *buf, si !strcmp(name_dev, "holders") || !strcmp(name_dev, "integrity") || !strcmp(name_dev, "loop") || - !strcmp(name_dev, "queueu") || + !strcmp(name_dev, "queue") || !strcmp(name_dev, "md") || !strcmp(name_dev, "mq") || !strcmp(name_dev, "power") ||