]> Git Repo - qemu.git/commit
scsi: make code more homogeneous in AIO callback functions
authorPaolo Bonzini <[email protected]>
Thu, 19 Apr 2012 12:00:24 +0000 (14:00 +0200)
committerPaolo Bonzini <[email protected]>
Thu, 19 Apr 2012 13:27:20 +0000 (15:27 +0200)
commit80624c938d2d9d2b2cca56326876f213c31e1202
treef5c2531ba2994ba2e06e64cd1296b98184511abe
parentb8aba8d7e3031ee3411a8e5eb07ac61f5b18f045
scsi: make code more homogeneous in AIO callback functions

First scsi_flush_complete, like scsi_dma_complete, is always called with
an active AIOCB.

Second, always test for "ret < 0" to check for errors.

Signed-off-by: Paolo Bonzini <[email protected]>
hw/scsi-disk.c
This page took 0.0218 seconds and 4 git commands to generate.