qemu/nbd
Vladimir Sementsov-Ogievskiy ee898b870f nbd/server: refactor nbd_co_receive_request
Move function tail, about receiving next request out of the function.
Error path is simplified and nbd_co_receive_request becomes more
corresponding to its name.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170602150150.258222-8-vsementsov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-06-15 11:04:06 +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-internal.h nbd: make nbd_drop public 2017-06-15 11:04:06 +02:00
server.c nbd/server: refactor nbd_co_receive_request 2017-06-15 11:04:06 +02:00