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
nexedi
linux
Commits
adbc0358
Commit
adbc0358
authored
Oct 17, 2007
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] endian fixes
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
ce51ae14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fs/cifs/cifsacl.c
fs/cifs/cifsacl.c
+3
-3
No files found.
fs/cifs/cifsacl.c
View file @
adbc0358
...
...
@@ -115,8 +115,8 @@ int compare_sids(struct cifs_sid *ctsid, struct cifs_sid *cwsid)
}
/* compare all of the subauth values if any */
num_sat
=
c
pu_to_le32
(
ctsid
->
num_subauth
)
;
num_saw
=
c
pu_to_le32
(
c
wsid
->
num_subauth
);
num_sat
=
c
tsid
->
num_subauth
;
num_saw
=
cwsid
->
num_subauth
);
num_subauth
=
num_sat
<
num_saw
?
num_sat
:
num_saw
;
if
(
num_subauth
)
{
for
(
i
=
0
;
i
<
num_subauth
;
++
i
)
{
...
...
@@ -206,7 +206,7 @@ static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl)
acl_base
=
(
char
*
)
pdacl
;
acl_size
=
sizeof
(
struct
cifs_acl
);
num_aces
=
cpu_to_le32
(
pdacl
->
num_aces
);
num_aces
=
le32_to_cpu
(
pdacl
->
num_aces
);
if
(
num_aces
>
0
)
{
ppntace
=
kmalloc
(
num_aces
*
sizeof
(
struct
cifs_ntace
*
),
GFP_KERNEL
);
...
...
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