/* The solution is to have little-endian machines swap the structure when converting from the structure to the u32 representation. This will result in the structure having the correct format on the wire no matter the host endian format.  */
static void dlm_query_join_packet_to_wire(struct dlm_query_join_packet *packet, u32 *wire)
/* The solution is to have little-endian machines swap the structure when converting from the structure to the u32 representation. This will result in the structure having the correct format on the wire no matter the host endian format.  */
static void dlm_query_join_packet_to_wire(struct dlm_query_join_packet *packet, u32 *wire)
{
	union dlm_query_join_response response;
	response.packet = *packet;
	*wire = cpu_to_be32(response.intval);
}