summaryrefslogtreecommitdiffstats
path: root/path.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-05-28 12:05:45 +0200
committerKevin Wolf <kwolf@redhat.com>2010-05-28 13:29:15 +0200
commit25408c09502be036e5575754fe54019ed4ed5dfa (patch)
tree3f2cd56548d3243e3a97dfd61080ee4eebc2019f /path.c
parented0df867d93341289d085ed9e9d44907e342c7ff (diff)
downloadhqemu-25408c09502be036e5575754fe54019ed4ed5dfa.zip
hqemu-25408c09502be036e5575754fe54019ed4ed5dfa.tar.gz
qcow2: Fix corruption after refblock allocation
Refblock allocation code needs to take into consideration that update_refcount will load a different refcount block into the cache, so it must initialize the cache for a new refcount block only afterwards. Not doing this means that not only the refcount in the wrong block is updated, but also that the caller will work on the wrong block. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'path.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud