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


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

On Mon, 15 Mar 2010 17:31:04 +0100
Conny Seidel <conny.seidel@amd.com> wrote:

I'm sorry I messed the previous patch up. Here is the corrected diff.

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: 1290 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:34:39 2010 +0100
@@ -114,6 +114,17 @@
                        wake_up(&(_b)->waiting_to_free);\
        } while (0)

+struct backend_info
+{
+        struct xenbus_device *dev;
+        blkif_t *blkif;
+        struct xenbus_watch backend_watch;
+        unsigned major;
+        unsigned minor;
+        char *mode;
+};
+
+
 /* Create a vbd. */
 int vbd_create(blkif_t *blkif, blkif_vdev_t vdevice, unsigned major,
               unsigned minor, int readonly, int cdrom);
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:34:39 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:45 UTC|newest]

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

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=20100315174538.2e9a57a6@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).