xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Conny Seidel <conny.seidel@amd.com>
To: xen-devel@lists.xensource.com
Subject: buildfix for xenblk
Date: Mon, 15 Mar 2010 17:31:04 +0100	[thread overview]
Message-ID: <20100315173104.4cc2b1ad@marah.osrc.amd.com> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 474 bytes --]

Hi,

the c/s 1005 (commit f7f420bd7b7a) in linux-2.6.18-xen.hg doesn't build.
This patch fixed the build for us.


Conny

##
##################################################################
# Position   : Systems Design Technician @ OSRC                  #
# Email      : conny.seidel@amd.com  GnuPG-Key: 0xA6AB055D       #
# Fingerprint: 17C4 5DB2 7C4C C1C7 1452 8148 F139 7C09 A6AB 055D #
##################################################################

[-- Attachment #1.1.2: xenblk_build.fix --]
[-- Type: text/plain, Size: 1304 bytes --]

Signed-off-by: Conny Seidel <conny.seidel@amd.com>

diff -r f7f420bd7b7a 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:15:56 2010 +0100
@@ -50,6 +50,16 @@
        pr_debug("(file=%s, line=%d) " _f,      \
                 __FILE__ , __LINE__ , ## _a )

+struct backend_info
+{
+        struct xenbus_device *dev;
+        blkif_t *blkif;
+        struct xenbus_watch backend_watch;
+        unsigned major;
+        unsigned minor;
+        char *mode;
+};
+
 struct vbd {
        blkif_vdev_t   handle;      /* what the domain refers to this
vbd as */ unsigned char  readonly;    /* Non-zero -> read-only */
diff -r f7f420bd7b7a 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:15:56 2010 +0100
@@ -29,15 +29,6 @@

 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 *);

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

             reply	other threads:[~2010-03-15 16:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 16:31 Conny Seidel [this message]
2010-03-15 16:45 ` buildfix for xenblk Conny Seidel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100315173104.4cc2b1ad@marah.osrc.amd.com \
    --to=conny.seidel@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).