aboutsummaryrefslogtreecommitdiff
path: root/block/linux-aio.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-10-07 13:59:15 +0200
committerKevin Wolf <kwolf@redhat.com>2014-10-20 13:41:27 +0200
commit097310b53e9d498ef8e127d52ea57905cbe46ec5 (patch)
treee276753122d4c8d6ed74025779d3da923a6482d4 /block/linux-aio.c
parent7c84b1b8310cd634825c77d45b4db89bb44c5cee (diff)
downloadqemu-097310b53e9d498ef8e127d52ea57905cbe46ec5.zip
qemu-097310b53e9d498ef8e127d52ea57905cbe46ec5.tar.gz
qemu-097310b53e9d498ef8e127d52ea57905cbe46ec5.tar.bz2
block: Rename BlockDriverCompletionFunc to BlockCompletionFunc
I'll use it with block backends shortly, and the name is going to fit badly there. It's a block layer thing anyway, not just a block driver thing. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/linux-aio.c')
-rw-r--r--block/linux-aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/linux-aio.c b/block/linux-aio.c
index 16e09d1..d92513b 100644
--- a/block/linux-aio.c
+++ b/block/linux-aio.c
@@ -245,7 +245,7 @@ int laio_io_unplug(BlockDriverState *bs, void *aio_ctx, bool unplug)
BlockAIOCB *laio_submit(BlockDriverState *bs, void *aio_ctx, int fd,
int64_t sector_num, QEMUIOVector *qiov, int nb_sectors,
- BlockDriverCompletionFunc *cb, void *opaque, int type)
+ BlockCompletionFunc *cb, void *opaque, int type)
{
struct qemu_laio_state *s = aio_ctx;
struct qemu_laiocb *laiocb;