diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-06-02 18:01:45 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-06-15 11:04:06 +0200 |
commit | ee898b870fe864bf93370482aafbece1ca205dc3 (patch) | |
tree | 86462d5156b8836761a7cd5c216d590854ad0110 /contrib | |
parent | 2a6e128bfaf4c6661dac2dfdca1162d275c88da2 (diff) | |
download | qemu-ee898b870fe864bf93370482aafbece1ca205dc3.zip qemu-ee898b870fe864bf93370482aafbece1ca205dc3.tar.gz qemu-ee898b870fe864bf93370482aafbece1ca205dc3.tar.bz2 |
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>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions