diff options
author | Steve French <sfrench@us.ibm.com> | 2007-10-16 20:40:37 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-10-16 20:40:37 +0200 |
commit | af6f4612fdfd782c6d35272836a2b97e7e5b790e (patch) | |
tree | 6456435d2c845c43b0094473c6248ab59e7284b3 /fs/cifs/cifssmb.c | |
parent | [CIFS] missing #endif from a previous patch (diff) | |
download | linux-af6f4612fdfd782c6d35272836a2b97e7e5b790e.tar.xz linux-af6f4612fdfd782c6d35272836a2b97e7e5b790e.zip |
[CIFS] Fix some endianness problems in new acl code
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 14dabbbd8134..d22af63e8f1f 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -3121,7 +3121,7 @@ CIFSSMBGetCIFSACL(const int xid, struct cifsTconInfo *tcon, __u16 fid, /* 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); |