summaryrefslogtreecommitdiffstats
path: root/target-cris
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-05-04 14:21:00 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-05-10 11:36:03 -0500
commit3e94cb020444ed201cfe6210f0de9953143dc74b (patch)
tree38f341d02247cd33825ab8c448437fe3ada4de62 /target-cris
parente9447f35718439c1affdee3ef69b2fee50c8106c (diff)
downloadhqemu-3e94cb020444ed201cfe6210f0de9953143dc74b.zip
hqemu-3e94cb020444ed201cfe6210f0de9953143dc74b.tar.gz
scsi-disk: Clear aiocb on read completion
Once the I/O completion callback returned, aiocb will be released by the controller. So we have to clear the reference not only in scsi_write_complete, but also in scsi_read_complete. Otherwise we risk inconsistencies when a reset hits us before the related request is released. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-cris')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud