diff options
| author | Eric Blake | 2019-01-17 20:36:48 +0100 |
|---|---|---|
| committer | Eric Blake | 2019-01-21 22:49:52 +0100 |
| commit | 757b3ab989dea1c3143dd0d499441415ac7fcbc0 (patch) | |
| tree | c4835dc01ee5aa6a1d0f55baeb3d7919c93e4371 /linux-user/linux_loop.h | |
| parent | nbd/client: Change signature of nbd_negotiate_simple_meta_context() (diff) | |
| download | qemu-757b3ab989dea1c3143dd0d499441415ac7fcbc0.tar.gz qemu-757b3ab989dea1c3143dd0d499441415ac7fcbc0.tar.xz qemu-757b3ab989dea1c3143dd0d499441415ac7fcbc0.zip | |
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 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
