From: Steve French Date: Fri, 27 May 2011 20:40:18 +0000 (+0000) Subject: [CIFS] Follow on to cifsacl endian patch (__constant_cpu_to_le32 was required) X-Git-Tag: MMI-PSA29.97-13-9~19351^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f61258f6111e2afd56cf40989e5a43cba9e59c8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [CIFS] Follow on to cifsacl endian patch (__constant_cpu_to_le32 was required) 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 Reviewed-by: Jeff Layton CC: Shirish Pargaonkar Signed-off-by: Steve French --- diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index 5f02b4ee9a03..8f1700623b41 100644 --- 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}, {} };