OSDN Git Service

cifs: split out ses and tcon retrieval from mount_get_conns()
authorPaulo Alcantara <pc@cjr.nz>
Tue, 11 Oct 2022 21:16:07 +0000 (18:16 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 19 Dec 2022 14:03:11 +0000 (08:03 -0600)
commita73a26d97eca082fe13c964e5541543c1e78dc55
tree51efe2befc14dfc395180eaeafa767c1f49664b1
parent6d740164d8903e6a0e98c30f80fac6af19ce0a21
cifs: split out ses and tcon retrieval from mount_get_conns()

Introduce and export two helpers for getting session and tcon during
mount(2).  Those will be used by dfs when retrieving sessions and
tcons separately while chasing referrals.  Besides, export
cifs_mount_ctx structure as it will be used by dfs code as well.

No functional changes.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/connect.c