]> xenbits.xensource.com Git - people/dstodden/blktap.git/commitdiff
CP-1705: bug fix for local read caching
authorAndrei Lifchits <andrei.lifchits@citrix.com>
Wed, 1 Sep 2010 14:26:44 +0000 (15:26 +0100)
committerAndrei Lifchits <andrei.lifchits@citrix.com>
Wed, 1 Sep 2010 14:26:44 +0000 (15:26 +0100)
drivers/block-lcache.c

index 2304a914eab00f9a681e7a1a90b85b275b962c1e..3bac16751603ec29b3a304e0dbf8a6139b5eb749 100644 (file)
@@ -177,6 +177,7 @@ local_cache_populate_cache(td_request_t clone, int err)
 
        clone.sec = lreq->treq.sec;
        clone.secs = lreq->treq.secs;
+       clone.buf = lreq->treq.buf;
 
 out:
        td_complete_request(lreq->treq, lreq->err); // TODO: check err