diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-03-23 18:28:03 (GMT) |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2012-03-23 18:28:03 (GMT) |
commit | 243d04b6e6de7fd08578fffd28b890c0200a2ca5 (patch) | |
tree | 02c731f0dc5a317c318b0911bf5d2d6fcd8b14f0 /fs/cifs/cifsglob.h | |
parent | 5ffef7bf1dd582e93b15f8cc735328a556a1d2c4 (diff) | |
download | linux-fsl-qoriq-243d04b6e6de7fd08578fffd28b890c0200a2ca5.tar.xz |
CIFS: Expand CurrentMid field
While in CIFS/SMB we have 16 bit mid, in SMB2 it is 64 bit.
Convert the existing field to 64 bit and mask off higher bits
for CIFS/SMB.
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index a403398..b213458 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -282,7 +282,7 @@ struct TCP_Server_Info { vcnumbers */ int capabilities; /* allow selective disabling of caps by smb sess */ int timeAdj; /* Adjust for difference in server time zone in sec */ - __u16 CurrentMid; /* multiplex id - rotating counter */ + __u64 CurrentMid; /* multiplex id - rotating counter */ char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlm, ntlmv2 etc */ /* 16th byte of RFC1001 workstation name is always null */ char workstation_RFC1001_name[RFC1001_NAME_LEN_WITH_NULL]; |