summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2009-06-23 19:17:30 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:40 -0500
commit14899cdf3a6e1fc0d72097a43c1c53a1354fbfbf (patch)
treed683ae55441c38442f3dbf0c1c40403ebff10b43 /block/qcow2-snapshot.c
parentAdd serial number support for virtio_blk (diff)
downloadqemu-kvm-14899cdf3a6e1fc0d72097a43c1c53a1354fbfbf.tar.gz
qemu-kvm-14899cdf3a6e1fc0d72097a43c1c53a1354fbfbf.tar.bz2
qemu-kvm-14899cdf3a6e1fc0d72097a43c1c53a1354fbfbf.zip
Fix QCOW2 debugging code to compile again
Updated to use C99 comments. Signed-off-by: Filip Navara <filip.navara@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block/qcow2-snapshot.c')
-rw-r--r--block/qcow2-snapshot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/block/qcow2-snapshot.c b/block/qcow2-snapshot.c
index e1e4d8973..94cb83806 100644
--- a/block/qcow2-snapshot.c
+++ b/block/qcow2-snapshot.c
@@ -288,7 +288,7 @@ int qcow2_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info)
if (qcow_write_snapshots(bs) < 0)
goto fail;
#ifdef DEBUG_ALLOC
- check_refcounts(bs);
+ qcow2_check_refcounts(bs);
#endif
return 0;
fail:
@@ -332,7 +332,7 @@ int qcow2_snapshot_goto(BlockDriverState *bs, const char *snapshot_id)
goto fail;
#ifdef DEBUG_ALLOC
- check_refcounts(bs);
+ qcow2_check_refcounts(bs);
#endif
return 0;
fail:
@@ -369,7 +369,7 @@ int qcow2_snapshot_delete(BlockDriverState *bs, const char *snapshot_id)
return ret;
}
#ifdef DEBUG_ALLOC
- check_refcounts(bs);
+ qcow2_check_refcounts(bs);
#endif
return 0;
}