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/scsi/sr.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/scsi/sr.c')
-rw-r--r-- | drivers/scsi/sr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 7c4d9a964799..3009b986d1d7 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c @@ -1003,7 +1003,7 @@ static int sr_read_cdda_bpc(struct cdrom_device_info *cdi, void __user *ubuf, if (blk_rq_unmap_user(bio)) ret = -EFAULT; out_put_request: - blk_put_request(rq); + blk_mq_free_request(rq); return ret; } |