aboutsummaryrefslogtreecommitdiff
path: root/default-configs
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2017-05-04 01:11:17 +0200
committerKevin Wolf <kwolf@redhat.com>2017-05-11 12:08:24 +0200
commit92413c16be8eee53a3b60739f2a28a1463651f47 (patch)
tree2640e046094d04c39103213efe716a1f9ab08f30 /default-configs
parentde9efdb33454ae952c72ed826c54981d498b6c10 (diff)
qcow2: Fix preallocation size formula
When calculating the number of reftable entries, we should actually use the number of refblocks and not (wrongly[1]) re-calculate it. [1] "Wrongly" means: Dividing the number of clusters by the number of entries per refblock and rounding down instead of up. Reported-by: Eric Blake <eblake@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'default-configs')
0 files changed, 0 insertions, 0 deletions