diff options
author | Cyril Gorcunov <gorcunov@gmail.com> | 2007-10-14 13:58:43 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-10-14 13:58:43 -0400 |
commit | 8f2376adfb57d95973b64ecdf016937f436b9bf0 (patch) | |
tree | 830a7f20af90be883a684fddc71a18f7c11df2b6 /fs/cifs/cifsacl.h | |
parent | 516897a208bc1423d561ce2ccce0624c3b652275 (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h index 1b115641b722..0362cd11f03e 100644 --- a/fs/cifs/cifsacl.h +++ b/fs/cifs/cifsacl.h | |||
@@ -51,8 +51,8 @@ struct cifs_acl { | |||
51 | struct cifs_ntace { /* first part of ACE which contains perms */ | 51 | struct cifs_ntace { /* first part of ACE which contains perms */ |
52 | __u8 type; | 52 | __u8 type; |
53 | __u8 flags; | 53 | __u8 flags; |
54 | __u16 size; | 54 | __le16 size; |
55 | __u32 access_req; | 55 | __le32 access_req; |
56 | } __attribute__((packed)); | 56 | } __attribute__((packed)); |
57 | 57 | ||
58 | struct cifs_ace { /* last part of ACE which includes user info */ | 58 | struct cifs_ace { /* last part of ACE which includes user info */ |