aboutsummaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-05-11 18:16:54 +0200
committerKevin Wolf <kwolf@redhat.com>2012-06-15 14:03:42 +0200
commitccf34716eeda0e3ad203c8a28f01efb412c56763 (patch)
tree46bb74acbf67d23a8586b1ce099cce15db363fc7 /block.h
parent4534ff5426afeeae5238ba10a696cafa9a0168ee (diff)
qemu-img check: Print fixed clusters and recheck
When any inconsistencies have been fixed, print the statistics and run another check to make sure everything is correct now. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.h')
-rw-r--r--block.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/block.h b/block.h
index 61b7e8ecb9..f8200ebdf8 100644
--- a/block.h
+++ b/block.h
@@ -187,6 +187,8 @@ typedef struct BdrvCheckResult {
int corruptions;
int leaks;
int check_errors;
+ int corruptions_fixed;
+ int leaks_fixed;
BlockFragInfo bfi;
} BdrvCheckResult;