diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-09-19 10:36:52 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-25 04:46:34 +0200 |
commit | e4e3703555b6eb1afa0be86a45cd3c8bccb6cb08 (patch) | |
tree | c2d235bd599c260fc5252854c5258cb1fb770ee7 /fs/cifs/cifspdu.h | |
parent | Trivial endian fixes (diff) | |
download | linux-e4e3703555b6eb1afa0be86a45cd3c8bccb6cb08.tar.xz linux-e4e3703555b6eb1afa0be86a45cd3c8bccb6cb08.zip |
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/cifspdu.h')
-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 */ __u8 DeletePending; __u8 Directory; __u16 Pad2; - __u64 IndexNumber; + __le64 IndexNumber; __le32 EASize; __le32 AccessFlags; __u64 IndexNumber1; |