scsi_transport_sas: needs to call blk_end_request_all for SMP requests
We need to call blk_end_request_all to complete SMP requests properly. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
bd2199d417
commit
93bdcba5a7
@ -173,9 +173,9 @@ static void sas_smp_request(struct request_queue *q, struct Scsi_Host *shost,
|
||||
ret = handler(shost, rphy, req);
|
||||
req->errors = ret;
|
||||
|
||||
spin_lock_irq(q->queue_lock);
|
||||
blk_end_request_all(req, ret);
|
||||
|
||||
req->end_io(req, ret);
|
||||
spin_lock_irq(q->queue_lock);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user