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 /block | |
parent | 1a381811b495651ddfc2b50d7c8cfaaf375816b0 (diff) | |
download | qemu-e88ae2264d93f98e4b656fa76555c745abe57684.zip qemu-e88ae2264d93f98e4b656fa76555c745abe57684.tar.gz qemu-e88ae2264d93f98e4b656fa76555c745abe57684.tar.bz2 |
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 'block')
0 files changed, 0 insertions, 0 deletions