[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>
| [...]
`----
This commit is contained in:
jk@blackdown.de 2004-10-18 22:10:38 -07:00 committed by Greg KH
parent 4a760b3334
commit 3b2382de51

View 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 = "pf" },
{ .subsystem = "block", .device = "scd" }, { .subsystem = "block", .device = "scd" },
{ .subsystem = "block", .device = "ubd" }, { .subsystem = "block", .device = "ubd" },
{ .subsystem = "block", .device = "dm-" },
{ .subsystem = "input", .device = "event" }, { .subsystem = "input", .device = "event" },
{ .subsystem = "input", .device = "mice" }, { .subsystem = "input", .device = "mice" },
{ .subsystem = "input", .device = "mouse" }, { .subsystem = "input", .device = "mouse" },