diff options
author | Paulo Alcantara <pc@cjr.nz> | 2022-11-17 17:23:49 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-12-19 15:03:12 +0100 |
commit | a1c0d00572fca4adcb40e1fbd3acd481fc75e20b (patch) | |
tree | 59d17b23729687930bc2d9d2b7ff28d636dc1cdb /kernel | |
parent | cifs: split out ses and tcon retrieval from mount_get_conns() (diff) | |
download | linux-a1c0d00572fca4adcb40e1fbd3acd481fc75e20b.tar.xz linux-a1c0d00572fca4adcb40e1fbd3acd481fc75e20b.zip |
cifs: share dfs connections and supers
When matching DFS superblocks we can't rely on either the server's
address or tcon's UNC name from mount(2) as the existing servers and
tcons might be connected to somewhere else. Instead, check if
superblock is dfs, and if so, match its original source pathname with
the new mount's source pathname.
For DFS connections, instead of checking server's address, match its
referral path as it could be connected to different targets.
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions