CIFS: Fix endian conversion of IndexNumber
authorPavel Shilovsky <piastry@etersoft.ru>
Wed, 19 Sep 2012 08:36:52 +0000 (12:36 +0400)
committerSteve French <smfrench@gmail.com>
Tue, 25 Sep 2012 02:46:34 +0000 (21:46 -0500)
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>
fs/cifs/cifspdu.h

index 3fb03e2c8e867bf30f6cceb2c0e5c636b75c4e4f..b9d59a948a2c8d30c89373655238d11ef7747a76 100644 (file)
@@ -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;