diff options
| author | Vladimir Sementsov-Ogievskiy | 2017-06-02 17:01:50 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2017-06-15 11:18:39 +0200 |
| commit | 8c372a02e0c36fbdea28434d7c04f4dce5d7368f (patch) | |
| tree | efb1f1099480ed61d7224affb0c28cf2ea09ce1f /include/exec | |
| parent | nbd/server: rename rc to ret (diff) | |
| download | qemu-8c372a02e0c36fbdea28434d7c04f4dce5d7368f.tar.gz qemu-8c372a02e0c36fbdea28434d7c04f4dce5d7368f.tar.xz qemu-8c372a02e0c36fbdea28434d7c04f4dce5d7368f.zip | |
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>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
