Am 29.07.2011 06:49, schrieb Devin Nakamura: > Signed-off-by: Devin Nakamura <devin...@gmail.com> > --- > block/qcow2-refcount.c | 34 ++++++++++++++++++++++++++++++++++ > block/qcow2.h | 2 ++ > 2 files changed, 36 insertions(+), 0 deletions(-)
Just for the record, discussed on IRC: Maybe it would be better to leave this functionality inside the normal qcow2_check_refcounts() implementation which would get a new flag that says "fix leaked clusters". This would allow a trivial implementation of a qemu-img check --fix, which is something that we've been wanting for a while. Kevin