diff options
Diffstat (limited to 'include/block/aio.h')
-rw-r--r-- | include/block/aio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/block/aio.h b/include/block/aio.h index ce992502f1..6bf0e0456a 100644 --- a/include/block/aio.h +++ b/include/block/aio.h @@ -23,7 +23,7 @@ #include "qemu/timer.h" typedef struct BlockAIOCB BlockAIOCB; -typedef void BlockDriverCompletionFunc(void *opaque, int ret); +typedef void BlockCompletionFunc(void *opaque, int ret); typedef struct AIOCBInfo { void (*cancel_async)(BlockAIOCB *acb); @@ -34,13 +34,13 @@ typedef struct AIOCBInfo { struct BlockAIOCB { const AIOCBInfo *aiocb_info; BlockDriverState *bs; - BlockDriverCompletionFunc *cb; + BlockCompletionFunc *cb; void *opaque; int refcnt; }; void *qemu_aio_get(const AIOCBInfo *aiocb_info, BlockDriverState *bs, - BlockDriverCompletionFunc *cb, void *opaque); + BlockCompletionFunc *cb, void *opaque); void qemu_aio_unref(void *p); void qemu_aio_ref(void *p); |