Commit f6a69168 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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
parents 251a94f1 11260c3d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -177,8 +177,12 @@ static int __dfs_mount_share(struct cifs_mount_ctx *mnt_ctx)
		struct dfs_cache_tgt_list tl = DFS_CACHE_TGT_LIST_INIT(tl);

		rc = dfs_get_referral(mnt_ctx, ref_path + 1, NULL, &tl);
		if (rc)
		if (rc) {
			rc = cifs_mount_get_tcon(mnt_ctx);
			if (!rc)
				rc = cifs_is_path_remote(mnt_ctx);
			break;
		}

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