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 /thread-pool.c | |
parent | ca5fd113b8ae5898853a757e06cb8d8a0c5e5d85 (diff) | |
download | qemu-8007429a99d6ea8480ba0a7a5fb5ae92473f798c.tar.gz qemu-8007429a99d6ea8480ba0a7a5fb5ae92473f798c.tar.bz2 qemu-8007429a99d6ea8480ba0a7a5fb5ae92473f798c.zip |
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 'thread-pool.c')
-rw-r--r-- | thread-pool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thread-pool.c b/thread-pool.c index bb1395cff8..86fa4a8f89 100644 --- a/thread-pool.c +++ b/thread-pool.c @@ -185,12 +185,12 @@ restart: qemu_bh_schedule(pool->completion_bh); elem->common.cb(elem->common.opaque, elem->ret); - qemu_aio_release(elem); + qemu_aio_unref(elem); goto restart; } else { /* remove the request */ QLIST_REMOVE(elem, all); - qemu_aio_release(elem); + qemu_aio_unref(elem); } } } |