diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2014-09-02 22:21:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 02:31:21 -0400 |
commit | bc5a5b02331a3175a5fca20a4beba249e573b672 (patch) | |
tree | a8b8a05fb128e9cefaf77742e446375d83f5c8cd | |
parent | 2115b5617adf2eecca49e78f3810f359ddc5c396 (diff) |
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>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reported-by: <qge@redhat.com>
Cc: <stable@vger.kernel.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/uapi/linux/hyperv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/hyperv.h b/include/uapi/linux/hyperv.h index 78e4a86030dd..0a8e6badb29b 100644 --- a/include/uapi/linux/hyperv.h +++ b/include/uapi/linux/hyperv.h | |||
@@ -137,7 +137,7 @@ struct hv_do_fcopy { | |||
137 | __u64 offset; | 137 | __u64 offset; |
138 | __u32 size; | 138 | __u32 size; |
139 | __u8 data[DATA_FRAGMENT]; | 139 | __u8 data[DATA_FRAGMENT]; |
140 | }; | 140 | } __attribute__((packed)); |
141 | 141 | ||
142 | /* | 142 | /* |
143 | * An implementation of HyperV key value pair (KVP) functionality for Linux. | 143 | * An implementation of HyperV key value pair (KVP) functionality for Linux. |