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
Unified · Split
| @@ -177,8 +177,12 @@ static int __dfs_mount_share(struct cifs_mount_ctx *mnt_ctx) · 176 unmodified lines | |||
| 177 | struct dfs_cache_tgt_list tl = DFS_CACHE_TGT_LIST_INIT(tl); | 177 | struct dfs_cache_tgt_list tl = DFS_CACHE_TGT_LIST_INIT(tl); |
| 178 | 178 | ||
| 179 | rc = dfs_get_referral(mnt_ctx, ref_path + 1, NULL, &tl); | 179 | rc = dfs_get_referral(mnt_ctx, ref_path + 1, NULL, &tl); |
| 180 | if (rc) | 180 | if (rc) { |
| 181 | rc = cifs_mount_get_tcon(mnt_ctx); | ||
| 182 | if (!rc) | ||
| 183 | rc = cifs_is_path_remote(mnt_ctx); | ||
| 181 | break; | 184 | break; |
| 185 | } | ||
| 182 | 186 | ||
| 183 | tit = dfs_cache_get_tgt_iterator(&tl); | 187 | tit = dfs_cache_get_tgt_iterator(&tl); |
| 184 | if (!tit) { | 188 | if (!tit) { |