diff options
author | Eric Blake <eblake@redhat.com> | 2019-01-17 13:36:48 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2019-01-21 15:49:52 -0600 |
commit | 757b3ab989dea1c3143dd0d499441415ac7fcbc0 (patch) | |
tree | c4835dc01ee5aa6a1d0f55baeb3d7919c93e4371 /crypto | |
parent | 2df94eb52b68d16f8a050bc28dd94a8c7d3366ec (diff) | |
download | qemu-757b3ab989dea1c3143dd0d499441415ac7fcbc0.zip qemu-757b3ab989dea1c3143dd0d499441415ac7fcbc0.tar.gz qemu-757b3ab989dea1c3143dd0d499441415ac7fcbc0.tar.bz2 |
nbd/client: Split out nbd_send_meta_query()
Refactor nbd_negotiate_simple_meta_context() to pull out the
code that can be reused to send a LIST request for 0 or 1 query.
No semantic change. The old comment about 'sizeof(uint32_t)'
being equivalent to '/* number of queries */' is no longer
needed, now that we are computing 'sizeof(queries)' instead.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Message-Id: <20190117193658.16413-12-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions