commit | 237ea1602fb4cd14cd31b745a56fd0639c58eea3 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Oct 21 08:06:04 2021 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Oct 22 08:33:57 2021 -0600 |
tree | b319b336363722401b339f6f90bce21aac09f8da | |
parent | 8c6aabd1c72bc241c55f5b71a86cea5ef28bceca [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>