diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-06-02 18:01:50 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-06-15 11:18:39 +0200 |
commit | 8c372a02e0c36fbdea28434d7c04f4dce5d7368f (patch) | |
tree | efb1f1099480ed61d7224affb0c28cf2ea09ce1f /block/dmg-bz2.c | |
parent | 2e5c9ad6f4cf164b098312ffe2f07396a5d994d3 (diff) |
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 'block/dmg-bz2.c')
0 files changed, 0 insertions, 0 deletions