aboutsummaryrefslogtreecommitdiff
path: root/roms
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-03-27 13:17:22 +0200
committerKevin Wolf <kwolf@redhat.com>2012-04-20 15:57:28 +0200
commit143550a83ef4eef86a847d00023d148e1f59f743 (patch)
tree2de0e606772707624172b10e83b85130280d8706 /roms
parentc7a4c37a0f768f7ad50f64414d578436019e1e96 (diff)
qcow2: Simplify count_cow_clusters
count_cow_clusters() tries to reuse existing functions, and all it achieves is to make things much more complicated than they really are: Everything needs COW, unless it's a normal cluster with refcount 1. This patch implements the obvious way of doing this, and by using qcow2_get_cluster_type() it gets rid of all flag magic. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'roms')
0 files changed, 0 insertions, 0 deletions