Revision 38d8dfa1
ID | 38d8dfa193e9a45f0f08b06aab2ba2a94f40a041 |
ide: Fix ide_dma_cancel
When cancelling a request, bdrv_aio_cancel may decide that it waits for
completion of a request rather than for cancellation. IDE therefore can't
abandon its DMA status before calling bdrv_aio_cancel; otherwise the callback
of a completed request would use invalid data.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Files
- added
- modified
- copied
- renamed
- deleted