commit: 4f61258f6111e2afd56cf40989e5a43cba9e59c8 From: Steve French <[email protected]> Date: Fri, 27 May 2011 20:40:18 +0000 Subject: [PATCH] [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 <[email protected]> Reviewed-by: Jeff Layton <[email protected]> CC: Shirish Pargaonkar <[email protected]> Signed-off-by: Steve French <[email protected]> --- fs/cifs/cifsacl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c index 5f02b4e..8f17006 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}, {} }; _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
