summaryrefslogtreecommitdiffstats
path: root/dma-helpers.c
diff options
context:
space:
mode:
authorFam Zheng2014-09-11 07:41:28 +0200
committerStefan Hajnoczi2014-09-22 12:39:17 +0200
commit8007429a99d6ea8480ba0a7a5fb5ae92473f798c (patch)
treebf761b6e8e9caa7d78236461c65913f369924208 /dma-helpers.c
parentblock: Drop AIOCBInfo.cancel (diff)
downloadqemu-8007429a99d6ea8480ba0a7a5fb5ae92473f798c.tar.gz
qemu-8007429a99d6ea8480ba0a7a5fb5ae92473f798c.tar.xz
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 'dma-helpers.c')
-rw-r--r--dma-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dma-helpers.c b/dma-helpers.c
index 207b21ef6f..7f86e18e72 100644
--- a/dma-helpers.c
+++ b/dma-helpers.c
@@ -124,7 +124,7 @@ static void dma_complete(DMAAIOCB *dbs, int ret)
qemu_bh_delete(dbs->bh);
dbs->bh = NULL;
}
- qemu_aio_release(dbs);
+ qemu_aio_unref(dbs);
}
static void dma_bdrv_cb(void *opaque, int ret)