diff options
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-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)) |