diff options
author | Eric Blake <eblake@redhat.com> | 2019-01-17 13:36:49 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2019-01-21 15:49:52 -0600 |
commit | 0182c1aed9e6a9314023c7264c5c264da2f4a4ce (patch) | |
tree | 4dac04b8a559a32756a6618ebf4a78a0c382d82b /crypto/init.c | |
parent | 757b3ab989dea1c3143dd0d499441415ac7fcbc0 (diff) | |
download | qemu-0182c1aed9e6a9314023c7264c5c264da2f4a4ce.zip qemu-0182c1aed9e6a9314023c7264c5c264da2f4a4ce.tar.gz qemu-0182c1aed9e6a9314023c7264c5c264da2f4a4ce.tar.bz2 |
nbd/client: Split out nbd_receive_one_meta_context()
Extract portions of nbd_negotiate_simple_meta_context() to
a new function nbd_receive_one_meta_context() that copies the
pattern of nbd_receive_list() for performing the argument
validation of one reply. The error message when the server
replies with more than one context changes slightly, but
that shouldn't happen in the common case.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20190117193658.16413-13-eblake@redhat.com>
Diffstat (limited to 'crypto/init.c')
0 files changed, 0 insertions, 0 deletions