commit | af6f4612fdfd782c6d35272836a2b97e7e5b790e | [log] [tgz] |
---|---|---|
author | Steve French <sfrench@us.ibm.com> | Tue Oct 16 18:40:37 2007 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Tue Oct 16 18:40:37 2007 +0000 |
tree | 6456435d2c845c43b0094473c6248ab59e7284b3 | |
parent | 016ec75f1a0c0e765fce65d794569979104f031d [diff] [blame] |
[CIFS] Fix some endianness problems in new acl code Signed-off-by: Steve French <sfrench@us.ibm.com>
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 14dabbb..d22af63 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c
@@ -3121,7 +3121,7 @@ /* BB check that data area is minimum length and as big as acl_len */ - acl_len = le32_to_cpu(*(__le32 *)parm); + acl_len = le32_to_cpu(*parm); /* BB check if (acl_len > bufsize) */ parse_sec_desc(psec_desc, acl_len);