qemu/nbd
Vladimir Sementsov-Ogievskiy 8c372a02e0 nbd/server: refactor nbd_trip
- do not use 'goto error_reply' outside a switch to jump into the
  middle of the switch's default case label
- reduce code duplication

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170602150150.258222-13-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: refactor nbd_trip 2017-06-15 11:18:39 +02:00