Skip to content

Commit f6a6916

Browse files
committed
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
2 parents 251a94f + 11260c3 commit f6a6916

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

fs/smb/client/dfs.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,12 @@ static int __dfs_mount_share(struct cifs_mount_ctx *mnt_ctx)
177177
struct dfs_cache_tgt_list tl = DFS_CACHE_TGT_LIST_INIT(tl);
178178

179179
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);
181184
break;
185+
}
182186

183187
tit = dfs_cache_get_tgt_iterator(&tl);
184188
if (!tit) {

0 commit comments

Comments
 (0)