diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-09-19 04:36:52 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 22:46:34 -0400 |
commit | e4e3703555b6eb1afa0be86a45cd3c8bccb6cb08 (patch) | |
tree | c2d235bd599c260fc5252854c5258cb1fb770ee7 /fs/cifs | |
parent | 12e8a20824677fbc24e921d7aebfda6a47cc25b1 (diff) |
CIFS: Fix endian conversion of IndexNumber
by making it __le64 rather than __u64 in FILE_AL_INFO structure.
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifspdu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index 3fb03e2c8e86..b9d59a948a2c 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h | |||
@@ -2210,7 +2210,7 @@ typedef struct { /* data block encoding of response to level 263 QPathInfo */ | |||
2210 | __u8 DeletePending; | 2210 | __u8 DeletePending; |
2211 | __u8 Directory; | 2211 | __u8 Directory; |
2212 | __u16 Pad2; | 2212 | __u16 Pad2; |
2213 | __u64 IndexNumber; | 2213 | __le64 IndexNumber; |
2214 | __le32 EASize; | 2214 | __le32 EASize; |
2215 | __le32 AccessFlags; | 2215 | __le32 AccessFlags; |
2216 | __u64 IndexNumber1; | 2216 | __u64 IndexNumber1; |