]> err.no Git - systemd/commitdiff
[PATCH] wait_for_sysfs update for dm devices
authorjk@blackdown.de <jk@blackdown.de>
Tue, 19 Oct 2004 05:10:38 +0000 (22:10 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 05:06:44 +0000 (22:06 -0700)
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>
| [...]
`----

wait_for_sysfs.c

index 8f142f488b6f3e4d9d2bdaf108153d59bb3db728..b6de3947c829ea63d056802a28eb1d6c138a7827 100644 (file)
@@ -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" },