]> 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)
commit3e535d70898b6fb1a7298fa7d07229fcb6a2eee6
tree9b86fa611ee2c4038a936a51cf44515c9a64ee3e
parentee806c8582c4bac8fe9a94dee9a899d7d45a6e26
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