]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - block/blk-merge.c
OMAP: dmtimer: enable all timers to be wakeup events
[linux-2.6-omap-h63xx.git] / block / blk-merge.c
index 5a244f05360f5ca67592e29a7270f3874bf16c37..e39cb24b76792ad50d575ee88dcd440697c69074 100644 (file)
@@ -403,6 +403,8 @@ static int attempt_merge(struct request_queue *q, struct request *req,
        if (blk_rq_cpu_valid(next))
                req->cpu = next->cpu;
 
+       /* owner-ship of bio passed from next to req */
+       next->bio = NULL;
        __blk_put_request(q, next);
        return 1;
 }