diff options
author | Max Reitz <mreitz@redhat.com> | 2013-08-30 10:40:14 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-08-30 15:28:52 +0200 |
commit | 8b81a7b6ba8686f35f9cb0acdd54004d63206f03 (patch) | |
tree | 9676950cef9e6f2b37e03883a9c9f67083e61ff7 /target-unicore32/op_helper.c | |
parent | d4ca092a423f1f853a99357bab01a168bb57d625 (diff) |
qcow2-refcount: Snapshot update for zero clusters
Account for all cluster types in qcow2_update_snapshot_refcounts;
this prevents this function from updating the refcount of unallocated
zero clusters which effectively led to wrong adjustments of the refcount
of cluster 0 (the main qcow2 header). This in turn resulted in images
with (unallocated) zero clusters having a cluster 0 refcount greater
than one after creating a snapshot.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'target-unicore32/op_helper.c')
0 files changed, 0 insertions, 0 deletions