Commit e4e37035 authored by Pavel Shilovsky's avatar Pavel Shilovsky Committed by Steve French

CIFS: Fix endian conversion of IndexNumber

by making it __le64 rather than __u64 in FILE_AL_INFO structure.
Signed-off-by: default avatarPavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent 12e8a208
...@@ -2210,7 +2210,7 @@ typedef struct { /* data block encoding of response to level 263 QPathInfo */ ...@@ -2210,7 +2210,7 @@ typedef struct { /* data block encoding of response to level 263 QPathInfo */
__u8 DeletePending; __u8 DeletePending;
__u8 Directory; __u8 Directory;
__u16 Pad2; __u16 Pad2;
__u64 IndexNumber; __le64 IndexNumber;
__le32 EASize; __le32 EASize;
__le32 AccessFlags; __le32 AccessFlags;
__u64 IndexNumber1; __u64 IndexNumber1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment