diff options
author | 2014-10-22 14:09:40 +0200 | |
---|---|---|
committer | 2014-10-23 15:34:01 +0200 | |
commit | c7c0681bc8a781e0319b7cf969b904dfe50d083e (patch) | |
tree | 51f15ff59d2d92382074c8f0aacafd1c41ad1e59 /qobject/json-parser.c | |
parent | qcow2: Do not perform potentially damaging repairs (diff) | |
download | qemu-c7c0681bc8a781e0319b7cf969b904dfe50d083e.tar.xz qemu-c7c0681bc8a781e0319b7cf969b904dfe50d083e.zip |
qcow2: Rebuild refcount structure during check
The previous commit introduced the "rebuild" variable to qcow2's
implementation of the image consistency check. Now make use of this by
adding a function which creates a completely new refcount structure
based solely on the in-memory information gathered before.
The old refcount structure will be leaked, however. This leak will be
dealt with in a follow-up commit.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qobject/json-parser.c')
0 files changed, 0 insertions, 0 deletions