]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cifs: connect individual channel servers to primary channel server
authorShyam Prasad N <sprasad@microsoft.com>
Mon, 19 Jul 2021 11:26:24 +0000 (11:26 +0000)
committerSteve French <stfrench@microsoft.com>
Sat, 13 Nov 2021 02:27:06 +0000 (20:27 -0600)
commit0f2b305af944973d6fa4acdb97151efe5b64aa55
tree9b86fa611ee2c4038a936a51cf44515c9a64ee3e
parent724244cdb3828522109c88e56a0242537aefabe9
cifs: connect individual channel servers to primary channel server

Today, we don't have any way to get the smb session for any
of the secondary channels. Introducing a pointer to the primary
server from server struct of any secondary channel. The value will
be NULL for the server of the primary channel. This will enable us
to get the smb session for any channel.

This will be needed for some of the changes that I'm planning
to make soon.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_debug.c
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/connect.c
fs/cifs/sess.c
fs/cifs/smb2pdu.c