qcow2-refcount: Repair shared refcount blocks
commitafa50193cde574528a130a25544fd6f3aa8da069
authorMax Reitz <mreitz@redhat.com>
Mon, 2 Sep 2013 07:25:10 +0000 (2 09:25 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 2 Sep 2013 08:06:59 +0000 (2 10:06 +0200)
treee8bb4b00751fe7583d09dd31f3cbc32b4ecaf6dd
parente23e400ec62a03dea58ddb38479b4f1ef86f556d
qcow2-refcount: Repair shared refcount blocks

If the refcount of a refcount block is greater than one, we can at least
try to repair that problem by duplicating the affected block.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/blkdebug.c
block/qcow2-refcount.c
include/block/block.h