aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/cifsacl.h
diff options
context:
space:
mode:
authorCyril Gorcunov <gorcunov@gmail.com>2007-10-14 17:58:43 +0000
committerSteve French <sfrench@us.ibm.com>2007-10-14 17:58:43 +0000
commit8f2376adfb57d95973b64ecdf016937f436b9bf0 (patch)
tree830a7f20af90be883a684fddc71a18f7c11df2b6 /fs/cifs/cifsacl.h
parent516897a208bc1423d561ce2ccce0624c3b652275 (diff)
[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>
Diffstat (limited to 'fs/cifs/cifsacl.h')
-rw-r--r--fs/cifs/cifsacl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h
index 1b115641b72..0362cd11f03 100644
--- a/fs/cifs/cifsacl.h
+++ b/fs/cifs/cifsacl.h
@@ -51,8 +51,8 @@ struct cifs_acl {
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 */