diff options
author | Fam Zheng <famz@redhat.com> | 2014-09-11 13:41:28 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-22 11:39:17 +0100 |
commit | 8007429a99d6ea8480ba0a7a5fb5ae92473f798c (patch) | |
tree | bf761b6e8e9caa7d78236461c65913f369924208 /block/win32-aio.c | |
parent | ca5fd113b8ae5898853a757e06cb8d8a0c5e5d85 (diff) |
block: Rename qemu_aio_release -> qemu_aio_unref
Suggested-by: BenoƮt Canet <benoit.canet@irqsave.net>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/win32-aio.c')
-rw-r--r-- | block/win32-aio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/win32-aio.c b/block/win32-aio.c index eed86f7e92..9323c1aed1 100644 --- a/block/win32-aio.c +++ b/block/win32-aio.c @@ -88,7 +88,7 @@ static void win32_aio_process_completion(QEMUWin32AIOState *s, waiocb->common.cb(waiocb->common.opaque, ret); - qemu_aio_release(waiocb); + qemu_aio_unref(waiocb); } static void win32_aio_completion_cb(EventNotifier *e) @@ -158,7 +158,7 @@ BlockDriverAIOCB *win32_aio_submit(BlockDriverState *bs, out_dec_count: aio->count--; out: - qemu_aio_release(waiocb); + qemu_aio_unref(waiocb); return NULL; } |