On 06/13/2016 03:43 AM, Paolo Bonzini wrote:
> These structs are never used to represent the bytes that go over the
> network. The big-endian network data is built into a uint8_t array
> in nbd_{receive,send}_{request,reply}. Remove the unused magic field,
> reorder the struct to avoid holes, and remove the packed attribute.
>
> Signed-off-by: Paolo Bonzini <[email protected]>
> ---
> include/block/nbd.h | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)Reviewed-by: Eric Blake <[email protected]> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
