diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-09-19 12:36:52 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 21:46:34 -0500 |
commit | e4e3703555b6eb1afa0be86a45cd3c8bccb6cb08 (patch) | |
tree | c2d235bd599c260fc5252854c5258cb1fb770ee7 /fs | |
parent | 12e8a20824677fbc24e921d7aebfda6a47cc25b1 (diff) | |
download | blackbird-op-linux-e4e3703555b6eb1afa0be86a45cd3c8bccb6cb08.tar.gz blackbird-op-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')
-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; |