summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2017-02-28 15:26:30 +0100
committerSteve French <smfrench@gmail.com>2017-03-01 22:26:11 -0600
commit7f9f6d2ec51449a20bc35359c9e190bf861b57e1 (patch)
tree61e352e409d7a995906d99eefaa6bb9b44207edd /fs
parent51146625f34b348c15d55c378b5ae5c2fb963fc8 (diff)
downloadlinux-stable-7f9f6d2ec51449a20bc35359c9e190bf861b57e1.tar.gz
linux-stable-7f9f6d2ec51449a20bc35359c9e190bf861b57e1.tar.bz2
linux-stable-7f9f6d2ec51449a20bc35359c9e190bf861b57e1.zip
CIFS: let ses->ipc_tid hold smb2 TreeIds
the TreeId field went from 2 bytes in CIFS to 4 bytes in SMB2+. this commit updates the size of the ipc_tid field of a cifs_ses, which was still using 2 bytes. Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifsglob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 1a90bb3e2986..af224cda8697 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -822,7 +822,7 @@ struct cifs_ses {
int ses_count; /* reference counter */
enum statusEnum status;
unsigned overrideSecFlg; /* if non-zero override global sec flags */
- __u16 ipc_tid; /* special tid for connection to IPC share */
+ __u32 ipc_tid; /* special tid for connection to IPC share */
char *serverOS; /* name of operating system underlying server */
char *serverNOS; /* name of network operating system of server */
char *serverDomain; /* security realm of server */