aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sg.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-10-24 13:52:28 -0600
committerJens Axboe <axboe@kernel.dk>2018-11-07 13:42:32 -0700
commit92bc5a24844ada9b010f03c49a493e3edeadaa54 (patch)
treec2f56eefa07ff2a233e3be817feaa3f7b959a23e /drivers/scsi/sg.c
parentblock: get rid of MQ scheduler ops union (diff)
downloadlinux-dev-92bc5a24844ada9b010f03c49a493e3edeadaa54.tar.xz
linux-dev-92bc5a24844ada9b010f03c49a493e3edeadaa54.zip
block: remove __blk_put_request()
Now there's no difference between blk_put_request() and __blk_put_request() anymore, get rid of the underscore version and convert the few callers. Reviewed-by: Hannes Reinecke <hare@suse.com> Tested-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/sg.c')
-rw-r--r--drivers/scsi/sg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index c6ad00703c5b..4e27460ec926 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -1390,7 +1390,7 @@ sg_rq_end_io(struct request *rq, blk_status_t status)
*/
srp->rq = NULL;
scsi_req_free_cmd(scsi_req(rq));
- __blk_put_request(rq->q, rq);
+ blk_put_request(rq);
write_lock_irqsave(&sfp->rq_list_lock, iflags);
if (unlikely(srp->orphan)) {