]> sourceware.org Git - lvm2.git/commitdiff
libdm: check for queue name
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 29 Aug 2024 21:05:52 +0000 (23:05 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 30 Aug 2024 14:48:48 +0000 (16:48 +0200)
Fix typo and check for queue string within sysfs kernel name.

device_mapper/libdm-common.c
libdm/libdm-common.c

index 9856e6ebef74ba7cf726b02fb17c443085ecb082..19839d8eef81769c6560b0be08ab3ec87830f781 100644 (file)
@@ -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") ||
index 48724b38f3dda1241cedb3d6b2bb4b21d08a85c6..faf100172261a02b268f4fd714c6a07b0a8bfe05 100644 (file)
@@ -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") ||
This page took 0.04135 seconds and 5 git commands to generate.