commit | e88ae2264d93f98e4b656fa76555c745abe57684 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Tue May 06 15:25:36 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon May 19 11:36:48 2014 +0200 |
tree | 43c4370b441d90d8693c796ed6dde0b8c1525ed6 | |
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>