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

[Xen-changelog] Fix build.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 775f86b6afc38c193b0032123c793a2d7e16bf73
# Parent  85445817d3bb6ddc9b3fae4ad13da930ce3417ba
Fix build.

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 85445817d3bb -r 775f86b6afc3 
linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c Mon Apr 24 18:08:24 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c Mon Apr 24 20:29:36 
2006 +0100
@@ -41,14 +41,13 @@ struct backend_info
 };
 
 
-static void maybe_connect(struct backend_info *);
 static void connect(struct backend_info *);
 static int connect_ring(struct backend_info *);
 static void backend_changed(struct xenbus_watch *, const char **,
                            unsigned int);
 
 
-static void update_blkif_status(blkif_t *blkif)
+void update_blkif_status(blkif_t *blkif)
 { 
        int err;
 
@@ -298,14 +297,6 @@ static void frontend_changed(struct xenb
 /* ** Connection ** */
 
 
-static void maybe_connect(struct backend_info *be)
-{
-       if ((be->major != 0 || be->minor != 0) &&
-           be->blkif->status == CONNECTED)
-               connect(be);
-}
-
-
 /**
  * Write the physical details regarding the block device to the store, and
  * switch to Connected state.

_______________________________________________
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®.