On 15.04.19 16:49, Vladimir Sementsov-Ogievskiy wrote: > Split allocation checking to separate function and reduce nesting. > Consider bdrv_is_allocated() fail as allocated area, as copying more > than needed is not wrong (and we do it anyway) and seems better than > fail the whole job. And, most probably we will fail on the next read, > if there are real problem with source. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> > --- > block/backup.c | 60 +++++++++++++++++++------------------------------- > 1 file changed, 23 insertions(+), 37 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature