Page MenuHomeFreeBSD

D19375.diff
No OneTemporary

D19375.diff

Index: head/sys/kern/subr_bus.c
===================================================================
--- head/sys/kern/subr_bus.c
+++ head/sys/kern/subr_bus.c
@@ -3004,6 +3004,10 @@
PDEBUG(("%s", DEVICENAME(dev)));
if (dev->state == DS_BUSY)
return (EBUSY);
+ if (dev->state == DS_ATTACHING) {
+ device_printf(dev, "device in attaching state! Deferring detach.\n");
+ return (EBUSY);
+ }
if (dev->state != DS_ATTACHED)
return (0);

File Metadata

Mime Type
text/plain
Expires
Fri, May 15, 4:04 AM (1 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33072530
Default Alt Text
D19375.diff (446 B)

Event Timeline