summaryrefslogtreecommitdiff
path: root/drivers/scsi/sg.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-21 08:06:04 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-22 08:33:57 -0600
commit237ea1602fb4cd14cd31b745a56fd0639c58eea3 (patch)
treeb319b336363722401b339f6f90bce21aac09f8da /drivers/scsi/sg.c
parent8c6aabd1c72bc241c55f5b71a86cea5ef28bceca (diff)
bsg-lib: initialize the bsg_job in bsg_transport_sg_io_fn
Directly initialize the bsg_job structure instead of relying on the ->.initialize_rq_fn indirection. This also removes the superflous initialization of the second request used for BIDI requests. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20211021060607.264371-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/sg.c')
0 files changed, 0 insertions, 0 deletions