On 22.12.19 12:36, Alberto Garcia wrote: > The logic of this function remains pretty much the same, except that > it uses count_contiguous_subclusters(), which combines the logic of > count_contiguous_clusters() / count_contiguous_clusters_unallocated() > and checks individual subclusters. > > Signed-off-by: Alberto Garcia > --- > block/qcow2-cluster.c | 136 ++++++++++++++++++++---------------------- > block/qcow2.h | 36 +++++------ > 2 files changed, 80 insertions(+), 92 deletions(-) Reviewed-by: Max Reitz