]> git.proxmox.com Git - qemu.git/commit
qcow2: Decouple cluster allocation from cluster reuse code
authorKevin Wolf <kwolf@redhat.com>
Tue, 26 Mar 2013 16:49:59 +0000 (17:49 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 28 Mar 2013 10:52:43 +0000 (11:52 +0100)
commit037689d8969c493d39153fd920ad81e161b0d55c
tree6ec00591f7a5173fcdcfbbf5fbf98fa919c1bfb2
parent65eb2e35c07632eb5d26f15a57461e321bacb883
qcow2: Decouple cluster allocation from cluster reuse code

This moves some code that prepares the allocation of new clusters to
where the actual allocation happens. This is the minimum required to be
able to move it to a separate function in the next patch.

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