Searched hist:"63 ba17d39f1a8d262b31ea6a07dd3eb45d5a41e2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 63ba17d39f1a8d262b31ea6a07dd3eb45d5a41e2 Thu Jan 24 12:02:08 CST 2013 Vishvananda Ishaya <vishvananda@gmail.com> block: Fix is_allocated_above with resized files
In an image chain, if the base image is smaller than the current image, we need to make sure to use the current images count of unallocated blocks once we get to the end of the base image. Without this change the code will return 0 blocks when it gets to the end of the base image and mirror_run will fail its assertion.
Signed-off-by: Vishvananda Ishaya <vishvananda@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|