Commit 9bbf8662 authored by Eugene Korenevsky's avatar Eugene Korenevsky Committed by Steve French

cifs: fix FILE_BOTH_DIRECTORY_INFO definition

The size of FILE_BOTH_DIRECTORY_INFO.ShortName must be 24 bytes, not 12
(see MS-FSCC documentation).
Signed-off-by: default avatarEugene Korenevsky <ekorenevsky@astralinux.ru>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent dea29037
...@@ -2560,7 +2560,7 @@ typedef struct { ...@@ -2560,7 +2560,7 @@ typedef struct {
__le32 EaSize; /* length of the xattrs */ __le32 EaSize; /* length of the xattrs */
__u8 ShortNameLength; __u8 ShortNameLength;
__u8 Reserved; __u8 Reserved;
__u8 ShortName[12]; __u8 ShortName[24];
char FileName[1]; char FileName[1];
} __attribute__((packed)) FILE_BOTH_DIRECTORY_INFO; /* level 0x104 FFrsp data */ } __attribute__((packed)) FILE_BOTH_DIRECTORY_INFO; /* level 0x104 FFrsp data */
......
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