Properly pack the data for file copy functionality. Patch based on investigation done by Matej Muzila <mmuzila@redhat.com>
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -137,7 +137,7 @@ struct hv_do_fcopy { · 136 unmodified lines | ||
| 137 | 137 | __u64 offset; |
| 138 | 138 | __u32 size; |
| 139 | 139 | __u8 data[DATA_FRAGMENT]; |
| 140 | −}; | |
| 140 | +} __attribute__((packed)); | |
| 141 | 141 | |
| 142 | 142 | /* |
| 143 | 143 | * An implementation of HyperV key value pair (KVP) functionality for Linux. |