This series fixes the fail path of the static function realloc_refcount_block() in block/qcow2-refcount.c which is used for repairing corrupted image files. While doing so, the whole return path is cleaned up and the comment describing the return value in case of success is fixed.
Max Reitz (2): qcow2: Correct comment for realloc_refcount_block() qcow2: Fix fail path in realloc_refcount_block() block/qcow2-refcount.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) -- 1.9.0