]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - block/blk-core.c
net: Add a WARN_ON_ONCE() to the transmit timeout function
[linux-2.6-omap-h63xx.git] / block / blk-core.c
index e6fdb288be65eaf3bc8cdbcd56b5c022836e12f5..5d09f8c56024011588ec1b89e90bff2033a150ca 100644 (file)
@@ -117,6 +117,7 @@ void blk_rq_init(struct request_queue *q, struct request *rq)
        rq->sector = rq->hard_sector = (sector_t) -1;
        INIT_HLIST_NODE(&rq->hash);
        RB_CLEAR_NODE(&rq->rb_node);
+       rq->cmd = rq->__cmd;
        rq->tag = -1;
        rq->ref_count = 1;
 }