diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-05-04 14:21:00 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-05-10 11:36:03 -0500 |
commit | 3e94cb020444ed201cfe6210f0de9953143dc74b (patch) | |
tree | 38f341d02247cd33825ab8c448437fe3ada4de62 /hw/lsi53c895a.c | |
parent | e9447f35718439c1affdee3ef69b2fee50c8106c (diff) |
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 'hw/lsi53c895a.c')
0 files changed, 0 insertions, 0 deletions