diff options
author | Kevin Wolf <kwolf@redhat.com> | 2012-05-11 18:18:36 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-06-15 14:03:42 +0200 |
commit | 166acf546f476d3594a1c1746dc265f1984c5c85 (patch) | |
tree | ede6d56760accd6b2f7a1bcf8eec2b61248e51fa /block/qcow2.c | |
parent | ccf34716eeda0e3ad203c8a28f01efb412c56763 (diff) |
qcow2: Support for fixing refcount inconsistencies
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2.c')
-rw-r--r-- | block/qcow2.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/block/qcow2.c b/block/qcow2.c index 77970155ab..d66de583e1 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -1473,11 +1473,7 @@ static int qcow2_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) static int qcow2_check(BlockDriverState *bs, BdrvCheckResult *result, BdrvCheckMode fix) { - if (fix) { - return -ENOTSUP; - } - - return qcow2_check_refcounts(bs, result); + return qcow2_check_refcounts(bs, result, fix); } #if 0 |