summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_error.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-10-24 21:52:28 +0200
committerJens Axboe <axboe@kernel.dk>2018-11-07 21:42:32 +0100
commit92bc5a24844ada9b010f03c49a493e3edeadaa54 (patch)
treec2f56eefa07ff2a233e3be817feaa3f7b959a23e /drivers/scsi/scsi_error.c
parentblock: get rid of MQ scheduler ops union (diff)
downloadlinux-92bc5a24844ada9b010f03c49a493e3edeadaa54.tar.xz
linux-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/scsi_error.c')
-rw-r--r--drivers/scsi/scsi_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index fff128aa9ec2..dd338a8cd275 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -1932,7 +1932,7 @@ maybe_retry:
static void eh_lock_door_done(struct request *req, blk_status_t status)
{
- __blk_put_request(req->q, req);
+ blk_put_request(req);
}
/**