History

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

Linus Torvalds committed 3 years ago

Commit f6a69162 parents 251a94f 11260c31 file · +5 −1Browse files

Unified · Split

fs/smb/client/dfs.c+5−1
@@ -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) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t