Am 07.07.2014 um 17:37 hat Kevin Wolf geschrieben: > bdrv_is_allocated() should return either 0 or 1 in successful cases. > We're lucky that currently, the callers that rely on this (e.g. because > they check for ret == 1) don't seem to break badly. They just might skip > some optimisation or in the case of qemu-io 'map' print separate lines > where a single line would suffice. In theory, a wrong allocation status > could lead to image corruption with certain operations, so let's fix > this quickly. > > Signed-off-by: Kevin Wolf <kw...@redhat.com>
Applied to the block branch. Kevin