CIFS: let ses->ipc_tid hold smb2 TreeIds
authorAurelien Aptel <aaptel@suse.com>
Tue, 28 Feb 2017 14:26:30 +0000 (15:26 +0100)
committerSteve French <smfrench@gmail.com>
Thu, 2 Mar 2017 04:26:11 +0000 (22:26 -0600)
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>
fs/cifs/cifsglob.h

index 1a90bb3e29866c4f0e9a44e637f75e41469c04f8..af224cda86971b2b5132b4848ade8c95f0b0aa46 100644 (file)
@@ -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 */