diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-25 09:05:07 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-29 06:50:52 -0600 |
commit | 0bf6d96cb8294094ce1e44cbe8cf65b0899d0a3a (patch) | |
tree | 070d0c6fdea2351b47830dc0fa5919479344c6ca /drivers/scsi/scsi_bsg.c | |
parent | 4845012eb5b4e56cadb5f484cb55dd4fd9d1df80 (diff) |
block: remove blk_{get,put}_request
These are now pointless wrappers around blk_mq_{alloc,free}_request,
so remove them.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20211025070517.1548584-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/scsi_bsg.c')
-rw-r--r-- | drivers/scsi/scsi_bsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_bsg.c b/drivers/scsi/scsi_bsg.c index 551727a6f694..081b84bb7985 100644 --- a/drivers/scsi/scsi_bsg.c +++ b/drivers/scsi/scsi_bsg.c @@ -95,7 +95,7 @@ static int scsi_bsg_sg_io_fn(struct request_queue *q, struct sg_io_v4 *hdr, out_free_cmd: scsi_req_free_cmd(scsi_req(rq)); out_put_request: - blk_put_request(rq); + blk_mq_free_request(rq); return ret; } |