diff options
| author | Max Reitz | 2014-04-29 16:12:30 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2014-04-29 16:39:51 +0200 |
| commit | c883db0df9dbf26471c1418a632b216b0c1104f1 (patch) | |
| tree | ad4a9bc9045839734a5c170a4cfa07071f9ae52c /include/exec | |
| parent | block: qemu-iotests: make test 019 and 086 work with spaced pathnames (diff) | |
| download | qemu-c883db0df9dbf26471c1418a632b216b0c1104f1.tar.gz qemu-c883db0df9dbf26471c1418a632b216b0c1104f1.tar.xz qemu-c883db0df9dbf26471c1418a632b216b0c1104f1.zip | |
qcow2: Fix discard
discard_single_l2() should not implement its own version of
qcow2_get_cluster_type(), but rather rely on this already existing
function. By doing so, it will work for compressed clusters as well
(which it did not so far).
Also, rename "old_offset" to "old_l2_entry", as both are quite different
(and the value is indeed of the latter kind).
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
