]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2-cluster.c
qcow2: Split cluster_needs_cow() out of count_cow_clusters()
authorAlberto Garcia <berto@igalia.com>
Fri, 10 Jul 2020 16:12:46 +0000 (18:12 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 25 Aug 2020 06:33:20 +0000 (08:33 +0200)
commitc1587d877e223c4c3a8db6fa620b71384550c492
treec673cb0a0e135dd8326cfdc1934094a58cf88213
parent8f91d6906c2217b968b6b01cdcb9e0edbb4d18ab
qcow2: Split cluster_needs_cow() out of count_cow_clusters()

We are going to need it in other places.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <65e5d9627ca2ebe7e62deaeddf60949c33067d9d.1594396418.git.berto@igalia.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-cluster.c