Am 25.09.2013 um 17:47 hat Max Reitz geschrieben:
> The function is not intended to be used on compressed clusters and will
> not work correctly, if used anyway, since L2E_OFFSET_MASK is not the
> right mask for determining the offset of compressed clusters. Therefore,
> assert that the first cluster is not compressed and always include the
> compression flag in the mask of significant flags, i.e., stop the search
> as soon as a compressed cluster occurs.
> 
> Signed-off-by: Max Reitz <mre...@redhat.com>
This is supposed to be a cleanup patch with no functional change, right?
How about removing explicit QCOW_OFLAG_COMPRESSED arguments from
callers?

Kevin

Reply via email to