[CIFS] Follow on to cifsacl endian patch (__constant_cpu_to_le32 was required)
authorSteve French <sfrench@us.ibm.com>
Fri, 27 May 2011 20:40:18 +0000 (20:40 +0000)
committerSteve French <sfrench@us.ibm.com>
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 <stable@kernel.org>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
CC: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsacl.c

index 5f02b4ee9a030fa2dcfa42c2ce845e145522739c..8f1700623b41078a35dda35957a858aa9cf08550 100644 (file)
@@ -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}, {} };