Revision a1c7273b block/qcow2-refcount.c
b/block/qcow2-refcount.c | ||
---|---|---|
1063 | 1063 |
* Checks an image for refcount consistency. |
1064 | 1064 |
* |
1065 | 1065 |
* Returns 0 if no errors are found, the number of errors in case the image is |
1066 |
* detected as corrupted, and -errno when an internal error occured. |
|
1066 |
* detected as corrupted, and -errno when an internal error occurred.
|
|
1067 | 1067 |
*/ |
1068 | 1068 |
int qcow2_check_refcounts(BlockDriverState *bs, BdrvCheckResult *res) |
1069 | 1069 |
{ |
Also available in: Unified diff