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

[Xen-changelog] [linux-2.6.18-xen] Fix build after c/s 1028



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1282818445 -3600
# Node ID 9b1adfb8b0b3b37c13f06c0adb8dd17b2a0a077d
# Parent  6f7bda25a4de7a4186d65bc0e8e816b1c3664b71
Fix build after c/s 1028

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/blktap2/ring.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 6f7bda25a4de -r 9b1adfb8b0b3 drivers/xen/blktap2/ring.c
--- a/drivers/xen/blktap2/ring.c        Thu Aug 26 08:50:42 2010 +0100
+++ b/drivers/xen/blktap2/ring.c        Thu Aug 26 11:27:25 2010 +0100
@@ -360,7 +360,7 @@ blktap_ring_set_message(struct blktap *t
 
        down_read(&tap->tap_sem);
        if (ring->ring.sring)
-               ring->ring.sring->pad[0] = msg;
+               ring->ring.sring->private.tapif_user.msg = msg;
        up_read(&tap->tap_sem);
 }
 
@@ -470,7 +470,7 @@ static unsigned int blktap_ring_poll(str
        struct blktap_ring *ring = &tap->ring;
 
        poll_wait(filp, &ring->poll_wait, wait);
-       if (ring->ring.sring->pad[0] != 0 ||
+       if (ring->ring.sring->private.tapif_user.msg ||
            ring->ring.req_prod_pvt != ring->ring.sring->req_prod) {
                RING_PUSH_REQUESTS(&ring->ring);
                return POLLIN | POLLRDNORM;

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