Merge tag '6.5-rc4-smb3-client-fix' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fix from Steve French:

- Fix DFS interlink problem (different namespace)

* tag '6.5-rc4-smb3-client-fix' of git://git.samba.org/sfrench/cifs-2.6:
smb: client: fix dfs link mount against w2k8

+5 -1
+5 -1
fs/smb/client/dfs.c
··· 177 struct dfs_cache_tgt_list tl = DFS_CACHE_TGT_LIST_INIT(tl); 178 179 rc = dfs_get_referral(mnt_ctx, ref_path + 1, NULL, &tl); 180 - if (rc) 181 break; 182 183 tit = dfs_cache_get_tgt_iterator(&tl); 184 if (!tit) {
··· 177 struct dfs_cache_tgt_list tl = DFS_CACHE_TGT_LIST_INIT(tl); 178 179 rc = dfs_get_referral(mnt_ctx, ref_path + 1, NULL, &tl); 180 + if (rc) { 181 + rc = cifs_mount_get_tcon(mnt_ctx); 182 + if (!rc) 183 + rc = cifs_is_path_remote(mnt_ctx); 184 break; 185 + } 186 187 tit = dfs_cache_get_tgt_iterator(&tl); 188 if (!tit) {