]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/qcow2: read_cache_sizes: return status value
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 2 Feb 2021 12:49:53 +0000 (15:49 +0300)
committerEric Blake <eblake@redhat.com>
Mon, 8 Mar 2021 22:03:23 +0000 (16:03 -0600)
commit772c4cad13b97b8e8ef8592228707f7a5557f939
treee6ee3c3b04a895d73bc15484edb635280471ea07
parent526e31de993431569ad3b8bdf461ef26d03c404d
block/qcow2: read_cache_sizes: return status value

It's better to return status together with setting errp. It allows to
reduce error propagation.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-Id: <20210202124956.63146-12-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
block/qcow2.c