aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/mpc8544_guts.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-09-20 14:55:35 +0300
committerKevin Wolf <kwolf@redhat.com>2021-10-06 10:25:55 +0200
commitf053b7e8005d7f72c2a8e686c4779f75b0ae631f (patch)
tree6f02a1143c37f024ba84d8cf1ced3b787a227561 /hw/ppc/mpc8544_guts.c
parent621d17378a40509757d5e03eb1c2f5305ff76df3 (diff)
block: bdrv_insert_node(): fix and improve error handling
- use ERRP_GUARD(): function calls error_prepend(), so it must use ERRP_GUARD(), otherwise error_prepend() would not be called when passed errp is error_fatal - drop error propagation, handle return code instead - for symmetry, do error_prepend() for the second failure Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20210920115538.264372-3-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ppc/mpc8544_guts.c')
0 files changed, 0 insertions, 0 deletions