diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-13 19:40:10 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-22 14:00:07 -0400 |
commit | c8a446ad695ada43a885ec12b38411dbd190a11b (patch) | |
tree | 8d9569b272e633c24b613938d09a29ff16dd994b /drivers/scsi | |
parent | e2490073cd7c3d6f6ef6e029a208edd4d38efac4 (diff) |
blk-mq: rename blk_mq_end_io to blk_mq_end_request
Now that we've changed the driver API on the submission side use the
opportunity to fix up the name on the completion side to fit into the
general scheme.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 2dcd9078de48..73ce7d27f5c8 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -713,7 +713,7 @@ static bool scsi_end_request(struct request *req, int error, | |||
713 | 713 | ||
714 | if (req->mq_ctx) { | 714 | if (req->mq_ctx) { |
715 | /* | 715 | /* |
716 | * In the MQ case the command gets freed by __blk_mq_end_io, | 716 | * In the MQ case the command gets freed by __blk_mq_end_request, |
717 | * so we have to do all cleanup that depends on it earlier. | 717 | * so we have to do all cleanup that depends on it earlier. |
718 | * | 718 | * |
719 | * We also can't kick the queues from irq context, so we | 719 | * We also can't kick the queues from irq context, so we |
@@ -721,7 +721,7 @@ static bool scsi_end_request(struct request *req, int error, | |||
721 | */ | 721 | */ |
722 | scsi_mq_uninit_cmd(cmd); | 722 | scsi_mq_uninit_cmd(cmd); |
723 | 723 | ||
724 | __blk_mq_end_io(req, error); | 724 | __blk_mq_end_request(req, error); |
725 | 725 | ||
726 | if (scsi_target(sdev)->single_lun || | 726 | if (scsi_target(sdev)->single_lun || |
727 | !list_empty(&sdev->host->starved_list)) | 727 | !list_empty(&sdev->host->starved_list)) |