]> git.baikalelectronics.ru Git - kernel.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)
commit824834780680ae3784c658f57df1f3ba95d5f65e
tree9b86fa611ee2c4038a936a51cf44515c9a64ee3e
parent2daafd8cba15d4b42a9c146f7f56f8de4fe0880c
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