]> xenbits.xensource.com Git - people/dstodden/blktap.git/commitdiff
CA-53968: Fix build.
authorDaniel Stodden <daniel.stodden@citrix.com>
Mon, 14 Mar 2011 22:41:30 +0000 (15:41 -0700)
committerDaniel Stodden <daniel.stodden@citrix.com>
Mon, 14 Mar 2011 22:41:30 +0000 (15:41 -0700)
Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
drivers/block-vhd.c

index 4e557ebbe7a430f3d70b3761e600f78234f55d1d..10dee58d0d6d2235348c69d81ac3c7a41418a219 100644 (file)
@@ -2371,8 +2371,8 @@ vhd_debug(td_driver_t *driver)
        DBG(TLOG_WARN, "ALLOCATED REQUESTS: (%u total)\n", VHD_REQS_DATA);
        for (i = 0; i < VHD_REQS_DATA; i++) {
                struct vhd_request *r = &s->vreq_list[i];
-               const char *vname     = t->vreq ? t->vreq->name: NULL;
                td_request_t *t       = &r->treq;
+               const char *vname     = t->vreq ? t->vreq->name: NULL;
                if (t->secs)
                        DBG(TLOG_WARN, "%d: vreq: %s.%d, err: %d, op: %d,"
                            " lsec: 0x%08"PRIx64", flags: %d, this: %p, "