From 3b2382de5192057d4c3ac25ddce9c70348d756f9 Mon Sep 17 00:00:00 2001 From: "jk@blackdown.de" Date: Mon, 18 Oct 2004 22:10:38 -0700 Subject: [PATCH] [PATCH] wait_for_sysfs update for dm devices Hi, I got these when creating LVM2 snapshots: ,---- | Oct 17 04:23:09 server wait_for_sysfs[5120]: error: wait_for_sysfs needs an update to handle the device '/block/dm-6' properly, please report to | Oct 17 04:23:09 server wait_for_sysfs[5129]: error: wait_for_sysfs needs an update to handle the device '/block/dm-6' properly, please report to | Oct 17 04:23:09 server wait_for_sysfs[5131]: error: wait_for_sysfs needs an update to handle the device '/block/dm-7' properly, please report to | [...] `---- --- wait_for_sysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c index 8f142f48..b6de3947 100644 --- a/wait_for_sysfs.c +++ b/wait_for_sysfs.c @@ -147,6 +147,7 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d { .subsystem = "block", .device = "pf" }, { .subsystem = "block", .device = "scd" }, { .subsystem = "block", .device = "ubd" }, + { .subsystem = "block", .device = "dm-" }, { .subsystem = "input", .device = "event" }, { .subsystem = "input", .device = "mice" }, { .subsystem = "input", .device = "mouse" }, -- 2.39.5