Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
8f18c131
Commit
8f18c131
authored
Oct 12, 2007
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] remove compile warnings when debug disabled
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
297647c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fs/cifs/cifsacl.c
fs/cifs/cifsacl.c
+2
-2
No files found.
fs/cifs/cifsacl.c
View file @
8f18c131
...
...
@@ -131,7 +131,6 @@ int compare_sids(struct cifs_sid *ctsid, struct cifs_sid *cwsid)
static
void
parse_ace
(
struct
cifs_ace
*
pace
,
char
*
end_of_acl
)
{
int
i
;
int
num_subauth
;
/* 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)
num_subauth
=
cpu_to_le32
(
pace
->
num_subauth
);
if
(
num_subauth
)
{
#ifdef CONFIG_CIFS_DEBUG2
int
i
;
cFYI
(
1
,
(
"ACE revision %d num_subauth %d"
,
pace
->
revision
,
pace
->
num_subauth
));
for
(
i
=
0
;
i
<
num_subauth
;
++
i
)
{
...
...
@@ -255,7 +255,6 @@ static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl)
static
int
parse_sid
(
struct
cifs_sid
*
psid
,
char
*
end_of_acl
)
{
int
i
;
int
num_subauth
;
/* 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)
num_subauth
=
cpu_to_le32
(
psid
->
num_subauth
);
if
(
num_subauth
)
{
#ifdef CONFIG_CIFS_DEBUG2
int
i
;
cFYI
(
1
,
(
"SID revision %d num_auth %d First subauth 0x%x"
,
psid
->
revision
,
psid
->
num_subauth
,
psid
->
sub_auth
[
0
]));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment