Re: [PATCH 12/14] block/qcow2: read_cache_sizes: return status value

2020-09-17 Thread Alberto Garcia
On Wed 09 Sep 2020 08:59:28 PM CEST, Vladimir Sementsov-Ogievskiy wrote: > It's better to return status together with setting errp. It allows to > reduce error propagation. > > Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Alberto Garcia Berto

Re: [PATCH 12/14] block/qcow2: read_cache_sizes: return status value

2020-09-11 Thread Greg Kurz
On Wed, 9 Sep 2020 21:59:28 +0300 Vladimir Sementsov-Ogievskiy wrote: > It's better to return status together with setting errp. It allows to > reduce error propagation. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- Reviewed-by: Greg Kurz > block/qcow2.c | 19 +-- >

[PATCH 12/14] block/qcow2: read_cache_sizes: return status value

2020-09-09 Thread Vladimir Sementsov-Ogievskiy
It's better to return status together with setting errp. It allows to reduce error propagation. Signed-off-by: Vladimir Sementsov-Ogievskiy --- block/qcow2.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/block/qcow2.c b/block/qcow2.c index