diff options
author | Steve French <sfrench@us.ibm.com> | 2007-10-16 14:40:37 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-10-16 14:40:37 -0400 |
commit | af6f4612fdfd782c6d35272836a2b97e7e5b790e (patch) | |
tree | 6456435d2c845c43b0094473c6248ab59e7284b3 /fs/cifs/cifssmb.c | |
parent | 016ec75f1a0c0e765fce65d794569979104f031d (diff) |
[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, | |||
3121 | 3121 | ||
3122 | /* BB check that data area is minimum length and as big as acl_len */ | 3122 | /* BB check that data area is minimum length and as big as acl_len */ |
3123 | 3123 | ||
3124 | acl_len = le32_to_cpu(*(__le32 *)parm); | 3124 | acl_len = le32_to_cpu(*parm); |
3125 | /* BB check if (acl_len > bufsize) */ | 3125 | /* BB check if (acl_len > bufsize) */ |
3126 | 3126 | ||
3127 | parse_sec_desc(psec_desc, acl_len); | 3127 | parse_sec_desc(psec_desc, acl_len); |