diff options
author | Christoph Hellwig <hch@lst.de> | 2017-07-06 10:32:20 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-07-06 12:23:51 -0600 |
commit | 0e2ff11311d1d4c85dd9ad9ba4347775f628e94a (patch) | |
tree | 9da3743be15cfcbbecbff5c5f215d8b9301712f9 /drivers/lightnvm | |
parent | db2d153d7a3d64618659f19e645a3351d3a732f3 (diff) | |
download | linux-0e2ff11311d1d4c85dd9ad9ba4347775f628e94a.tar.bz2 |
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: Christoph Hellwig <hch@lst.de>
Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions