aboutsummaryrefslogtreecommitdiff
path: root/include/block/aio.h
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-09-11 13:41:27 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2014-09-22 11:39:16 +0100
commitca5fd113b8ae5898853a757e06cb8d8a0c5e5d85 (patch)
tree020198549da77af2ddc19954f38799aadfa406f1 /include/block/aio.h
parente551c999bcca1f29742741033853651f6ea88479 (diff)
block: Drop AIOCBInfo.cancel
Now that all the implementations are converted to asynchronous version and we can emulate synchronous cancellation with it. Let's drop the unused member. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block/aio.h')
-rw-r--r--include/block/aio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/aio.h b/include/block/aio.h
index ad361e34c7..f2d0582bd1 100644
--- a/include/block/aio.h
+++ b/include/block/aio.h
@@ -26,7 +26,6 @@ typedef struct BlockDriverAIOCB BlockDriverAIOCB;
typedef void BlockDriverCompletionFunc(void *opaque, int ret);
typedef struct AIOCBInfo {
- void (*cancel)(BlockDriverAIOCB *acb);
void (*cancel_async)(BlockDriverAIOCB *acb);
AioContext *(*get_aio_context)(BlockDriverAIOCB *acb);
size_t aiocb_size;