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/pblk-write.c | |
parent | null_blk: fix error flow for shared tags during module_init (diff) | |
download | wireguard-linux-0e2ff11311d1d4c85dd9ad9ba4347775f628e94a.tar.xz wireguard-linux-0e2ff11311d1d4c85dd9ad9ba4347775f628e94a.zip |
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/pblk-write.c')
0 files changed, 0 insertions, 0 deletions