projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e52e713
)
[CIFS] Follow on to cifsacl endian patch (__constant_cpu_to_le32 was required)
author
Steve French
<
[email protected]
>
Fri, 27 May 2011 20:40:18 +0000
(20:40 +0000)
committer
Steve French
<
[email protected]
>
Fri, 27 May 2011 20:40:18 +0000
(20:40 +0000)
As Jeff just pointed out, __constant_cpu_to_le32 was required instead of
cpu_to_le32 in previous patch to cifsacl.c
383c55350fb4ab6bd08abfab82038ae0364f1f48
(Fix endian error comparing authusers when cifsacl enabled)
CC: Stable <
[email protected]
>
Reviewed-by: Jeff Layton <
[email protected]
>
CC: Shirish Pargaonkar <
[email protected]
>
Signed-off-by: Steve French <
[email protected]
>
fs/cifs/cifsacl.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifsacl.c
b/fs/cifs/cifsacl.c
index 5f02b4ee9a030fa2dcfa42c2ce845e145522739c..8f1700623b41078a35dda35957a858aa9cf08550 100644
(file)
--- a/
fs/cifs/cifsacl.c
+++ b/
fs/cifs/cifsacl.c
@@
-38,7
+38,7
@@
static const struct cifs_sid sid_everyone = {
1, 1, {0, 0, 0, 0, 0, 1}, {0} };
/* security id for Authenticated Users system group */
static const struct cifs_sid sid_authusers = {
- 1, 1, {0, 0, 0, 0, 0, 5}, {cpu_to_le32(11)} };
+ 1, 1, {0, 0, 0, 0, 0, 5}, {
__constant_
cpu_to_le32(11)} };
/* group users */
static const struct cifs_sid sid_user = {1, 2 , {0, 0, 0, 0, 0, 5}, {} };