All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mini-os: fix FS frontend index reading
@ 2008-07-18 17:09 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2008-07-18 17:09 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-18 17:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18 17:09 [PATCH] mini-os: fix FS frontend index reading Samuel Thibault

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.