commit | 9696df219a71c6608f058ade8873d6d0b4e352fe | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed Oct 22 14:09:37 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Oct 23 15:34:01 2014 +0200 |
tree | 38d3c0ca47e98015f145baaaf01e9ff16ca7d1f0 | |
parent | 641bb63cd6b003ab0ca2e312a014449037d71647 [diff] |
qcow2: Reuse refcount table in calculate_refcounts() We will later call calculate_refcounts multiple times, so reuse the refcount table if possible. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>