Extract compressing part from alloc_cluster_offset() (Laurent Vivier)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 14 Aug 2008 18:09:32 +0000 (18:09 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 14 Aug 2008 18:09:32 +0000 (18:09 +0000)
commit52d893ecf98a43d17f9b65c5a22a130ecacd9bf1
tree008f610c31e9d75ada44284908f431f19478a24c
parent052035244f66acfa532b730b1444c4b7e8a4f302
Extract compressing part from alloc_cluster_offset() (Laurent Vivier)

Divide alloc_cluster_offset() into alloc_cluster_offset() and
alloc_compressed_cluster_offset().
Common parts are moved to free_any_clusters() and get_cluster_table();

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5005 c046a42c-6fe2-441c-8c8c-71466251a162
block-qcow2.c