Skip to content
Commit 0e2ff113 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

cciss: initialize struct scsi_req



The changes in "block: Make most scsi_req_init() calls implicit" mean
that every driver that supports the generic scsi ioctls needs to
call scsi_req_init on newly allocated requests, but that commit didn't
add the call to the ccіss driver.  Fix that to avoid crashes when
udev issues SG_IO commands.

Fixes: ca18d6f7 ("block: Make most scsi_req_init() calls implicit")
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reported-by: default avatarMeelis Roos <mroos@linux.ee>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent db2d153d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment