From: "Matias Bjørling" <m@bjorling.me>
To: axboe@fb.com
Cc: linux-kernel@vger.kernel.org, "Matias Bjørling" <m@bjorling.me>
Subject: [PATCH] Small correction to blk_rq_set_block_pc
Date: Fri, 6 Jun 2014 13:46:00 +0200 [thread overview]
Message-ID: <1402055161-25533-1-git-send-email-m@bjorling.me> (raw)
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
next reply other threads:[~2014-06-06 11:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-06 11:46 Matias Bjørling [this message]
2014-06-06 11:46 ` [PATCH] block: blk_rq_set_block_pc overwrites __data_len Matias Bjørling
2014-06-06 14:19 ` [PATCH] Small correction to blk_rq_set_block_pc Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1402055161-25533-1-git-send-email-m@bjorling.me \
--to=m@bjorling.me \
--cc=axboe@fb.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®