On 26.10.19 23:25, Alberto Garcia wrote: > In the previous patch we added a new QCow2ClusterType named > QCOW2_CLUSTER_UNALLOCATED_SUBCLUSTER. There is a couple of places > where this new value needs to be handled, and that is what this patch > does. > > Signed-off-by: Alberto Garcia <be...@igalia.com> > --- > block/qcow2.c | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) This patch deals with everything in qcow2.c. There are more places that reference QCOW2_CLUSTER_* constants elsewhere, and I suppose most of them are handled by the following patches.
But I wonder what the criterion is on where it needs to be handled and where it’s OK not to. Right now it looks to me like it’s a bit arbitrary maybe? But I suppose I’ll just have to wait until after the next patches. Max
signature.asc
Description: OpenPGP digital signature