diff options
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsacl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index 43ab26fff398..601587724f9d 100644 --- a/fs/cifs/cifsacl.c +++ b/fs/cifs/cifsacl.c | |||
@@ -131,7 +131,6 @@ int compare_sids(struct cifs_sid *ctsid, struct cifs_sid *cwsid) | |||
131 | 131 | ||
132 | static void parse_ace(struct cifs_ace *pace, char *end_of_acl) | 132 | static void parse_ace(struct cifs_ace *pace, char *end_of_acl) |
133 | { | 133 | { |
134 | int i; | ||
135 | int num_subauth; | 134 | int num_subauth; |
136 | 135 | ||
137 | /* validate that we do not go past end of acl */ | 136 | /* validate that we do not go past end of acl */ |
@@ -145,6 +144,7 @@ static void parse_ace(struct cifs_ace *pace, char *end_of_acl) | |||
145 | num_subauth = cpu_to_le32(pace->num_subauth); | 144 | num_subauth = cpu_to_le32(pace->num_subauth); |
146 | if (num_subauth) { | 145 | if (num_subauth) { |
147 | #ifdef CONFIG_CIFS_DEBUG2 | 146 | #ifdef CONFIG_CIFS_DEBUG2 |
147 | int i; | ||
148 | cFYI(1, ("ACE revision %d num_subauth %d", | 148 | cFYI(1, ("ACE revision %d num_subauth %d", |
149 | pace->revision, pace->num_subauth)); | 149 | pace->revision, pace->num_subauth)); |
150 | for (i = 0; i < num_subauth; ++i) { | 150 | for (i = 0; i < num_subauth; ++i) { |
@@ -255,7 +255,6 @@ static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl) | |||
255 | 255 | ||
256 | static int parse_sid(struct cifs_sid *psid, char *end_of_acl) | 256 | static int parse_sid(struct cifs_sid *psid, char *end_of_acl) |
257 | { | 257 | { |
258 | int i; | ||
259 | int num_subauth; | 258 | int num_subauth; |
260 | 259 | ||
261 | /* BB need to add parm so we can store the SID BB */ | 260 | /* BB need to add parm so we can store the SID BB */ |
@@ -269,6 +268,7 @@ static int parse_sid(struct cifs_sid *psid, char *end_of_acl) | |||
269 | num_subauth = cpu_to_le32(psid->num_subauth); | 268 | num_subauth = cpu_to_le32(psid->num_subauth); |
270 | if (num_subauth) { | 269 | if (num_subauth) { |
271 | #ifdef CONFIG_CIFS_DEBUG2 | 270 | #ifdef CONFIG_CIFS_DEBUG2 |
271 | int i; | ||
272 | cFYI(1, ("SID revision %d num_auth %d First subauth 0x%x", | 272 | cFYI(1, ("SID revision %d num_auth %d First subauth 0x%x", |
273 | psid->revision, psid->num_subauth, psid->sub_auth[0])); | 273 | psid->revision, psid->num_subauth, psid->sub_auth[0])); |
274 | 274 | ||