Paolo Bonzini 488eef2f1d scsi: fix cancellation when I/O was completed but DMA was not.
Commit d577646 (scsi: Introduce scsi_req_cancel_complete, 2014-09-25)
was supposed to have no semantic change, but it missed a case.  When
r->aiocb has already been NULLed, but DMA was not complete and the
SCSI layer was waiting for scsi_req_continue, after the patch the
SCSI layer will not call the .cancel callback of SCSIBusInfo.

Fixes: d5776465ee9a55815792efa34d79de240f4ffd99
Cc: qemu-stable@nongnu.org
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Tested-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-01-14 10:38:57 +01:00
..
2015-01-08 17:32:27 +00:00
2014-09-29 10:20:05 +02:00
2014-12-11 18:27:02 +00:00
2014-08-15 19:12:48 +04:00
2014-12-17 19:22:42 +00:00
2014-11-04 23:26:12 +01:00
2014-09-02 22:38:16 +04:00
2015-01-08 17:32:27 +00:00
2014-12-19 13:17:06 +00:00
2014-10-24 12:19:11 +01:00
2014-12-15 17:34:44 +01:00
2014-12-11 20:57:11 +03:00
2014-12-22 10:37:27 -07:00