From 721547e08bc249708262b35bde6586c8477fad59 Mon Sep 17 00:00:00 2001 From: hgchu Date: Fri, 12 Jan 2018 13:31:16 +0900 Subject: [PATCH] scsi: change scsi_softirq_done as external Change-Id: I1f25d7054c3868f77d4589425455ccd8fcf04969 Signed-off-by: hgchu --- drivers/scsi/scsi_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 359386730523..23afa64b277d 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1623,7 +1623,7 @@ static void scsi_kill_request(struct request *req, struct request_queue *q) blk_complete_request(req); } -static void scsi_softirq_done(struct request *rq) +void scsi_softirq_done(struct request *rq) { struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(rq); unsigned long wait_for = (cmd->allowed + 1) * rq->timeout; -- 2.20.1