diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-05-06 15:25:36 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-05-19 11:36:48 +0200 |
commit | e88ae2264d93f98e4b656fa76555c745abe57684 (patch) | |
tree | 43c4370b441d90d8693c796ed6dde0b8c1525ed6 /qemu-img.c | |
parent | 1a381811b495651ddfc2b50d7c8cfaaf375816b0 (diff) |
block: Fix bdrv_is_allocated() for short backing files
bdrv_is_allocated() shouldn't return true for sectors that are
unallocated, but after the end of a short backing file, even though
such sectors are (correctly) marked as containing zeros.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions