summaryrefslogtreecommitdiffstats
path: root/Documentation/block
diff options
context:
space:
mode:
authorBart Van Assche2017-11-01 23:31:49 +0100
committerJens Axboe2017-11-15 04:13:33 +0100
commit4fc930896db910c39999ed0e298798b57362772a (patch)
tree83a2fddecc884f4a44fe224b025302649af83aad /Documentation/block
parentMerge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadkernel-qcow2-linux-4fc930896db910c39999ed0e298798b57362772a.tar.gz
kernel-qcow2-linux-4fc930896db910c39999ed0e298798b57362772a.tar.xz
kernel-qcow2-linux-4fc930896db910c39999ed0e298798b57362772a.zip
ide: Make ide_cdrom_prep_fs() initialize the sense buffer pointer
The changes introduced through commit 82ed4db499b8 assume that the sense buffer pointer in struct scsi_request is initialized for all requests - passthrough and filesystem requests. Hence make sure that that pointer is initialized for filesystem requests. Remove the memset() call that clears .cmd because the scsi_req_init() call in ide_initialize_rq() already initializes the .cmd. Fixes: commit 82ed4db499b8 ("block: split scsi_request out of struct request") Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions