ia64/xen-unstable

changeset 6761:968541972a7c

Don't remove backend store directory before device_unregister.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Mon Sep 12 19:46:30 2005 +0000 (2005-09-12)
parents f5adc1aa61d8
children e9d01c5dc7b4
files linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c	Mon Sep 12 19:45:54 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c	Mon Sep 12 19:46:30 2005 +0000
     1.3 @@ -65,7 +65,6 @@ static void frontend_changed(struct xenb
     1.4  
     1.5  	/* If other end is gone, delete ourself. */
     1.6  	if (node && !xenbus_exists(be->frontpath, "")) {
     1.7 -		xenbus_rm(be->dev->nodename, "");
     1.8  		device_unregister(&be->dev->dev);
     1.9  		return;
    1.10  	}