diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 29bcfac6c688..859879d0a0bf 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -132,6 +132,7 @@ void blk_rq_init(struct request_queue *q, struct request *rq) | |||
132 | INIT_HLIST_NODE(&rq->hash); | 132 | INIT_HLIST_NODE(&rq->hash); |
133 | RB_CLEAR_NODE(&rq->rb_node); | 133 | RB_CLEAR_NODE(&rq->rb_node); |
134 | rq->cmd = rq->__cmd; | 134 | rq->cmd = rq->__cmd; |
135 | rq->cmd_len = BLK_MAX_CDB; | ||
135 | rq->tag = -1; | 136 | rq->tag = -1; |
136 | rq->ref_count = 1; | 137 | rq->ref_count = 1; |
137 | } | 138 | } |