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

[Xen-changelog] [linux-2.6.18-xen] blkback: Fix the build.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1268672728 0
# Node ID 13e25228ce4041c947f078e42f23cdaf58f02eba
# Parent  f7f420bd7b7ad94e97946b7dda4df15b0657cd16
blkback: Fix the build.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/xen/blkback/common.h |   10 ++++++++++
 drivers/xen/blkback/xenbus.c |   10 ----------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff -r f7f420bd7b7a -r 13e25228ce40 drivers/xen/blkback/common.h
--- a/drivers/xen/blkback/common.h      Mon Mar 15 13:31:19 2010 +0000
+++ b/drivers/xen/blkback/common.h      Mon Mar 15 17:05:28 2010 +0000
@@ -101,6 +101,16 @@ typedef struct blkif_st {
        grant_ref_t    shmem_ref;
 } blkif_t;
 
+struct backend_info
+{
+       struct xenbus_device *dev;
+       blkif_t *blkif;
+       struct xenbus_watch backend_watch;
+       unsigned major;
+       unsigned minor;
+       char *mode;
+};
+
 blkif_t *blkif_alloc(domid_t domid);
 void blkif_disconnect(blkif_t *blkif);
 void blkif_free(blkif_t *blkif);
diff -r f7f420bd7b7a -r 13e25228ce40 drivers/xen/blkback/xenbus.c
--- a/drivers/xen/blkback/xenbus.c      Mon Mar 15 13:31:19 2010 +0000
+++ b/drivers/xen/blkback/xenbus.c      Mon Mar 15 17:05:28 2010 +0000
@@ -28,16 +28,6 @@
                 __FUNCTION__, __LINE__, ##args)
 
 static DEFINE_RWLOCK(sysfs_read_lock);
-
-struct backend_info
-{
-       struct xenbus_device *dev;
-       blkif_t *blkif;
-       struct xenbus_watch backend_watch;
-       unsigned major;
-       unsigned minor;
-       char *mode;
-};
 
 static void connect(struct backend_info *);
 static int connect_ring(struct backend_info *);

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