diff options
Diffstat (limited to 'fs/cifs/cifsacl.h')
-rw-r--r-- | fs/cifs/cifsacl.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h index 420f87813647..06d52006bf26 100644 --- a/fs/cifs/cifsacl.h +++ b/fs/cifs/cifsacl.h | |||
@@ -48,7 +48,7 @@ struct cifs_sid { | |||
48 | __u8 revision; /* revision level */ | 48 | __u8 revision; /* revision level */ |
49 | __u8 num_subauth; | 49 | __u8 num_subauth; |
50 | __u8 authority[6]; | 50 | __u8 authority[6]; |
51 | __le32 sub_auth[5]; /* sub_auth[num_subauth] */ /* BB FIXME endianness BB */ | 51 | __le32 sub_auth[5]; /* sub_auth[num_subauth] */ |
52 | } __attribute__((packed)); | 52 | } __attribute__((packed)); |
53 | 53 | ||
54 | struct cifs_acl { | 54 | struct cifs_acl { |
@@ -57,18 +57,12 @@ struct cifs_acl { | |||
57 | __le32 num_aces; | 57 | __le32 num_aces; |
58 | } __attribute__((packed)); | 58 | } __attribute__((packed)); |
59 | 59 | ||
60 | struct cifs_ntace { /* first part of ACE which contains perms */ | 60 | struct cifs_ace { |
61 | __u8 type; | 61 | __u8 type; |
62 | __u8 flags; | 62 | __u8 flags; |
63 | __le16 size; | 63 | __le16 size; |
64 | __le32 access_req; | 64 | __le32 access_req; |
65 | } __attribute__((packed)); | 65 | struct cifs_sid sid; /* ie UUID of user or group who gets these perms */ |
66 | |||
67 | struct cifs_ace { /* last part of ACE which includes user info */ | ||
68 | __u8 revision; /* revision level */ | ||
69 | __u8 num_subauth; | ||
70 | __u8 authority[6]; | ||
71 | __le32 sub_auth[5]; | ||
72 | } __attribute__((packed)); | 66 | } __attribute__((packed)); |
73 | 67 | ||
74 | struct cifs_wksid { | 68 | struct cifs_wksid { |