diff options
author | Fam Zheng <famz@redhat.com> | 2015-01-27 17:16:59 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-02-02 16:55:11 +0100 |
commit | 2aeba9d8a1b6121b98948fcd42fd2aa32f68b750 (patch) | |
tree | 3a721ebd30f28055c182ab3326ef8556e5e53a46 /memory.c | |
parent | 2e91cc62f29a7359d00576a250a10892e00c95b4 (diff) | |
download | hqemu-2aeba9d8a1b6121b98948fcd42fd2aa32f68b750.zip hqemu-2aeba9d8a1b6121b98948fcd42fd2aa32f68b750.tar.gz |
scsi: Fix scsi_req_cancel_async for no aiocb req
scsi_req_cancel_complete is responsible for releasing the request, so we
shouldn't skip it in any case. This doesn't affect the only existing
caller, virtio-scsi, but is useful for other devices once they use it.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'memory.c')
0 files changed, 0 insertions, 0 deletions