]> xenbits.xensource.com Git - people/ssmith/nc2-2.6.27.git/commitdiff
CA-24604: Signal blktap kthread start as a state change notification to udev.
authorSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:47 +0000 (12:55 +0100)
committerSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:47 +0000 (12:55 +0100)
drivers/xen/blktap/xenbus.c

index aca1550291074901febde952e99f847dfb108738..28de0f33d8e05f94bcc75ada5cf58e23d4edd61b 100644 (file)
@@ -701,6 +701,7 @@ static void tap_backend_changed(struct xenbus_watch *watch,
                }
 
                DPRINTK("tap_backend_changed created thread %s\n", name);
+               kobject_uevent(&be->dev->dev.kobj, KOBJ_CHANGE);
        }
        tap_update_blkif_status(be->blkif);
 }