Skip to content

Commit 7f9f6d2

Browse files
aaptelsmfrench
authored andcommitted
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>
1 parent 5114662 commit 7f9f6d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/cifs/cifsglob.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ struct cifs_ses {
822822
int ses_count; /* reference counter */
823823
enum statusEnum status;
824824
unsigned overrideSecFlg; /* if non-zero override global sec flags */
825-
__u16 ipc_tid; /* special tid for connection to IPC share */
825+
__u32 ipc_tid; /* special tid for connection to IPC share */
826826
char *serverOS; /* name of operating system underlying server */
827827
char *serverNOS; /* name of network operating system of server */
828828
char *serverDomain; /* security realm of server */

0 commit comments

Comments
 (0)