]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2-refcount.c
qcow2: Allow updating no refcounts
authorKevin Wolf <kwolf@redhat.com>
Wed, 20 Jan 2010 14:03:05 +0000 (15:03 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Jan 2010 20:59:19 +0000 (14:59 -0600)
commit7322afe7eaa7211285a38ccfb754a0a52911e394
tree697c315d93d5616f26ba977b7cef9a28759635a9
parent09508d13f3874d07bf25f8dd9f5303cbd8139d1b
qcow2: Allow updating no refcounts

There's absolutely no problem with updating the refcounts of 0 clusters.
At least snapshot code is doing this and would fail once the result of
update_refcount isn't ignored any more.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/qcow2-refcount.c