# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216629513 -3600
# Node ID ed5481094c103776112ba53c388a4aaeb788bb00
# Parent 25f125425f0ff5ce89ff12cdb96a515bc71fdf43
mini-os: fix FS frontend index reading
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
extras/mini-os/fs-front.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 25f125425f0f -r ed5481094c10 extras/mini-os/fs-front.c
--- a/extras/mini-os/fs-front.c Mon Jul 21 09:38:19 2008 +0100
+++ b/extras/mini-os/fs-front.c Mon Jul 21 09:38:33 2008 +0100
@@ -746,7 +746,7 @@ static void fsfront_handler(evtchn_port_
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)
@@ -756,7 +756,7 @@ moretodo:
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);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|