Messages in this thread | | | From | Matias Bjørling <> | Subject | [PATCH] Small correction to blk_rq_set_block_pc | Date | Fri, 6 Jun 2014 13:46:00 +0200 |
| |
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.
Matias Bjørling (1): block: blk_rq_set_block_pc overwrites __data_len
drivers/block/pktcdvd.c | 2 +- drivers/cdrom/cdrom.c | 2 +- drivers/scsi/device_handler/scsi_dh_alua.c | 2 +- drivers/scsi/device_handler/scsi_dh_rdac.c | 2 +- drivers/scsi/scsi_lib.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
-- 1.9.1
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |