From 097310b53e9d498ef8e127d52ea57905cbe46ec5 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 7 Oct 2014 13:59:15 +0200 Subject: 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 Reviewed-by: Max Reitz Signed-off-by: Kevin Wolf --- block/null.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'block/null.c') diff --git a/block/null.c b/block/null.c index e9547d785a..ec2bd27a4b 100644 --- a/block/null.c +++ b/block/null.c @@ -95,7 +95,7 @@ static void null_bh_cb(void *opaque) } static inline BlockAIOCB *null_aio_common(BlockDriverState *bs, - BlockDriverCompletionFunc *cb, + BlockCompletionFunc *cb, void *opaque) { NullAIOCB *acb; @@ -109,7 +109,7 @@ static inline BlockAIOCB *null_aio_common(BlockDriverState *bs, static BlockAIOCB *null_aio_readv(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, - BlockDriverCompletionFunc *cb, + BlockCompletionFunc *cb, void *opaque) { return null_aio_common(bs, cb, opaque); @@ -118,14 +118,14 @@ static BlockAIOCB *null_aio_readv(BlockDriverState *bs, static BlockAIOCB *null_aio_writev(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, - BlockDriverCompletionFunc *cb, + BlockCompletionFunc *cb, void *opaque) { return null_aio_common(bs, cb, opaque); } static BlockAIOCB *null_aio_flush(BlockDriverState *bs, - BlockDriverCompletionFunc *cb, + BlockCompletionFunc *cb, void *opaque) { return null_aio_common(bs, cb, opaque); -- cgit v1.2.1