diff options
author | Vladimir Sementsov-Ogievskiy | 2021-02-02 13:49:56 +0100 |
---|---|---|
committer | Eric Blake | 2021-03-08 23:04:46 +0100 |
commit | 1184b411016bce7590723170aa6b5984518707ec (patch) | |
tree | 2660819bdf1156bbf47b3794fcf6ee91b40f3f9b /hw/arm | |
parent | block/qed: bdrv_qed_do_open: deal with errp (diff) | |
download | qemu-1184b411016bce7590723170aa6b5984518707ec.tar.gz qemu-1184b411016bce7590723170aa6b5984518707ec.tar.xz qemu-1184b411016bce7590723170aa6b5984518707ec.zip |
block/qcow2: refactor qcow2_update_options_prepare error paths
Keep setting ret close to setting errp and don't merge different error
paths into one. This way it's more obvious that we don't return
error without setting errp.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-Id: <20210202124956.63146-15-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/arm')
0 files changed, 0 insertions, 0 deletions