Skip to content

qcow2: Fix return path of realloc_refcount_block()

Max Reitz qemu-devel 1 version Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2qcow2: Correct comment for realloc_refcount_block()block/qcow2-refcount.c+1 -11 reply
2/2qcow2: Fix fail path in realloc_refcount_block()block/qcow2-refcount.c+18 -162 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLaszlo Ersek
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] qcow2: Fix return path of realloc_refcount_block()

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(-)
Signature · 1 line
1.9.0