diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-25 09:05:07 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-29 14:50:52 +0200 |
commit | 0bf6d96cb8294094ce1e44cbe8cf65b0899d0a3a (patch) | |
tree | 070d0c6fdea2351b47830dc0fa5919479344c6ca /drivers/block/pktcdvd.c | |
parent | block: remove QUEUE_FLAG_SCSI_PASSTHROUGH (diff) | |
download | linux-0bf6d96cb8294094ce1e44cbe8cf65b0899d0a3a.tar.xz linux-0bf6d96cb8294094ce1e44cbe8cf65b0899d0a3a.zip |
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/block/pktcdvd.c')
-rw-r--r-- | drivers/block/pktcdvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index cacf64eedad8..40e7a45e3347 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c @@ -726,7 +726,7 @@ static int pkt_generic_packet(struct pktcdvd_device *pd, struct packet_command * if (scsi_req(rq)->result) ret = -EIO; out: - blk_put_request(rq); + blk_mq_free_request(rq); return ret; } |