aboutsummaryrefslogtreecommitdiff
path: root/block/qed-gencb.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/qed-gencb.c')
-rw-r--r--block/qed-gencb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/qed-gencb.c b/block/qed-gencb.c
index 7d7ac1ffc8..b817a8bf50 100644
--- a/block/qed-gencb.c
+++ b/block/qed-gencb.c
@@ -13,7 +13,7 @@
#include "qed.h"
-void *gencb_alloc(size_t len, BlockDriverCompletionFunc *cb, void *opaque)
+void *gencb_alloc(size_t len, BlockCompletionFunc *cb, void *opaque)
{
GenericCB *gencb = g_malloc(len);
gencb->cb = cb;
@@ -24,7 +24,7 @@ void *gencb_alloc(size_t len, BlockDriverCompletionFunc *cb, void *opaque)
void gencb_complete(void *opaque, int ret)
{
GenericCB *gencb = opaque;
- BlockDriverCompletionFunc *cb = gencb->cb;
+ BlockCompletionFunc *cb = gencb->cb;
void *user_opaque = gencb->opaque;
g_free(gencb);