qemu-patch-raspberry4/nbd
Max Reitz d3780c2dce nbd: client_close on error in nbd_co_client_start
Use client_close() if an error in nbd_co_client_start() occurs instead
of manually inlining parts of it. This fixes an assertion error on the
server side if nbd_negotiate() fails.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2016-02-02 17:49:42 +01:00
..
client.c nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
common.c nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
Makefile.objs nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
nbd-internal.h nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
server.c nbd: client_close on error in nbd_co_client_start 2016-02-02 17:49:42 +01:00