[CIFS] Fix endian conversion problem in posix mkdir
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h
index 1b11564..0362cd1 100644
--- a/fs/cifs/cifsacl.h
+++ b/fs/cifs/cifsacl.h
@@ -51,8 +51,8 @@
struct cifs_ntace { /* first part of ACE which contains perms */
__u8 type;
__u8 flags;
- __u16 size;
- __u32 access_req;
+ __le16 size;
+ __le32 access_req;
} __attribute__((packed));
struct cifs_ace { /* last part of ACE which includes user info */