]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2-refcount.c
qcow2-refcount: Move OFLAG_COPIED checks
authorMax Reitz <mreitz@redhat.com>
Fri, 30 Aug 2013 12:34:27 +0000 (14:34 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 30 Aug 2013 13:48:44 +0000 (15:48 +0200)
commit4f6ed88c03c4026e31ce152ea760a0da839f0dda
treed30ab55668de70d2de4aa625d77b0f75490efd26
parentcf93980e775b709ec8f33f55846e6dcf1c7a612c
qcow2-refcount: Move OFLAG_COPIED checks

Move the OFLAG_COPIED checks out of check_refcounts_l1 and
check_refcounts_l2 and after the actual refcount checks/fixes (since the
refcounts might actually change there).

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