]> Pileus Git - ~andy/linux/blobdiff - fs/cifs/cifsglob.h
Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
[~andy/linux] / fs / cifs / cifsglob.h
index cf32f03933694cb56fd518a5e25388f35d834162..c0f3718b77a83e7e0e010b089e436356e83a1eb7 100644 (file)
@@ -513,7 +513,7 @@ struct cifs_mnt_data {
 static inline unsigned int
 get_rfc1002_length(void *buf)
 {
-       return be32_to_cpu(*((__be32 *)buf));
+       return be32_to_cpu(*((__be32 *)buf)) & 0xffffff;
 }
 
 static inline void