xemu/nbd
Vladimir Sementsov-Ogievskiy 7798d3aab9 nbd/server: nbd_negotiate: fix error path
Current code will return 0 on this nbd_write fail, as rc is 0
after successful nbd_negotiate_options. Fix this.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170602150150.258222-10-vsementsov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-06-15 11:18:39 +02:00
..
client.c nbd: make nbd_drop public 2017-06-15 11:04:06 +02:00
common.c nbd: make nbd_drop public 2017-06-15 11:04:06 +02:00
Makefile.objs nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
nbd-internal.h nbd: make nbd_drop public 2017-06-15 11:04:06 +02:00
server.c nbd/server: nbd_negotiate: fix error path 2017-06-15 11:18:39 +02:00