All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] mini-os: fix FS frontend index reading
Date: Fri, 18 Jul 2008 18:09:00 +0100	[thread overview]
Message-ID: <20080718170900.GC4576@implementation> (raw)

mini-os: fix FS frontend index reading

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>

diff -r 09105412f187 extras/mini-os/fs-front.c
--- a/extras/mini-os/fs-front.c	Fri Jul 18 17:56:33 2008 +0100
+++ b/extras/mini-os/fs-front.c	Fri Jul 18 18:08:01 2008 +0100
@@ -737,7 +737,7 @@
 
     DEBUG("Event from import [%d:%d].\n", import->dom_id, import->export_id);
 moretodo:   
-    rp = import->ring.sring->req_prod;
+    rp = import->ring.sring->rsp_prod;
     rmb(); /* Ensure we see queued responses up to 'rp'. */
     cons = import->ring.rsp_cons;
     while (cons != rp)
@@ -747,7 +747,7 @@
 
         rsp = RING_GET_RESPONSE(&import->ring, cons); 
         DEBUG("Response at idx=%d to request id=%d, ret_val=%lx\n", 
-            import->ring.rsp_cons, rsp->id, rsp->ret_val);
+            cons, rsp->id, rsp->ret_val);
         req = &import->requests[rsp->id];
         memcpy(&req->shadow_rsp, rsp, sizeof(struct fsif_response));
         DEBUG("Waking up: %s\n", req->thread->name);

                 reply	other threads:[~2008-07-18 17:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20080718170900.GC4576@implementation \
    --to=samuel.thibault@eu.citrix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.