Re: [PATCH] Small correction to blk_rq_set_block_pc

From: Jens Axboe
Date: Fri Jun 06 2014 - 10:20:12 EST


On 2014-06-06 05:46, Matias BjÃrling wrote:
Hi Jens,

The blk_rq_set_block_pc() overwrites rq->__data_len after its being set in
blk_rq_map_kern().

It leads to some interesting error messages when booted with SCSI device.

Christoph beat you to it, I folded it in with the previous one.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/