[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Don't remove backend store directory before device_unregister.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 968541972a7c2291001dd65966920d43091ff920
# Parent  f5adc1aa61d8787f3984103d2898be0b12937451
Don't remove backend store directory before device_unregister.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r f5adc1aa61d8 -r 968541972a7c 
linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c Mon Sep 12 19:45:54 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c Mon Sep 12 19:46:30 2005
@@ -65,7 +65,6 @@
 
        /* If other end is gone, delete ourself. */
        if (node && !xenbus_exists(be->frontpath, "")) {
-               xenbus_rm(be->dev->nodename, "");
                device_unregister(&be->dev->dev);
                return;
        }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.