summaryrefslogtreecommitdiff
path: root/wait_for_sysfs.c
diff options
context:
space:
mode:
authorjk@blackdown.de <jk@blackdown.de>2004-10-18 22:10:38 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 22:06:44 -0700
commit3b2382de5192057d4c3ac25ddce9c70348d756f9 (patch)
tree12d814458457df6224ff0abf466df9aa9e254c58 /wait_for_sysfs.c
parent4a760b333459003055816bc6a296c54327d521dc (diff)
[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 <linux-hotplug-devel@lists.sourceforge.net> | 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 <linux-hotplug-devel@lists.sourceforge.net> | 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 <linux-hotplug-devel@lists.sourceforge.net> | [...] `----
Diffstat (limited to 'wait_for_sysfs.c')
-rw-r--r--wait_for_sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c
index 8f142f488b..b6de3947c8 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" },