]> git.proxmox.com Git - qemu.git/commit
qcow2: Add refcount update reason to all callers
authorKevin Wolf <kwolf@redhat.com>
Wed, 19 Jun 2013 11:44:18 +0000 (13:44 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 24 Jun 2013 08:25:17 +0000 (10:25 +0200)
commit6cfcb9b8b91d303ab51b78623f2299b5288d2d51
treed546c5428126fffa019295e4c1fb05a56100d12a
parent492fdc6fbe17b2d45878e813e980f782ac260c30
qcow2: Add refcount update reason to all callers

This adds a refcount update reason to all callers of update_refcounts(),
so that a follow-up patch can use this information to decide whether
clusters that reach a refcount of 0 should be discarded in the image
file.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2-cluster.c
block/qcow2-refcount.c
block/qcow2-snapshot.c
block/qcow2.c
block/qcow2.h