aboutsummaryrefslogtreecommitdiff
path: root/block-qcow.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-08-03 17:52:41 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-08-03 17:52:41 +0000
commite7b81015e5b8d03c13670940a80c9be0eeb816f6 (patch)
tree0ca7d127d82e88f16d4223b6adaffb9121e40b06 /block-qcow.c
parent436e15b827be64cf29b2154863af39f71e5ea7d9 (diff)
downloadqemu-e7b81015e5b8d03c13670940a80c9be0eeb816f6.zip
qemu-e7b81015e5b8d03c13670940a80c9be0eeb816f6.tar.gz
qemu-e7b81015e5b8d03c13670940a80c9be0eeb816f6.tar.bz2
added missing returns
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2079 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-qcow.c')
-rw-r--r--block-qcow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block-qcow.c b/block-qcow.c
index 65e74e7..9ad7061 100644
--- a/block-qcow.c
+++ b/block-qcow.c
@@ -649,6 +649,7 @@ static int qcow_aio_read(BlockDriverAIOCB *acb, int64_t sector_num,
acb1->cluster_offset = 0;
qcow_aio_read_cb(acb, 0);
+ return 0;
}
static void qcow_aio_write_cb(void *opaque, int ret)
@@ -725,6 +726,7 @@ static int qcow_aio_write(BlockDriverAIOCB *acb, int64_t sector_num,
acb1->n = 0;
qcow_aio_write_cb(acb, 0);
+ return 0;
}
static void qcow_aio_cancel(BlockDriverAIOCB *acb)