History

Drivers: hv: util: Properly pack the data for file copy functionality

Properly pack the data for file copy functionality. Patch based on investigation done by Matej Muzila <mmuzila@redhat.com>

K. Y. Srinivasan committed 12 years ago

Commit bc5a5b01 parent 2115b561 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/hyperv.h+1−1
@@ -137,7 +137,7 @@ struct hv_do_fcopy { · 136 unmodified lines
137137 __u64 offset;
138138 __u32 size;
139139 __u8 data[DATA_FRAGMENT];
140−};
140+} __attribute__((packed));
141141
142142 /*
143143 * An implementation of HyperV key value pair (KVP) functionality for Linux.