Skip to content
Commit 5739375e authored by Paulo Alcantara (SUSE)'s avatar Paulo Alcantara (SUSE) Committed by Steve French
Browse files

cifs: Fix mount options set in automount

Starting from 4a367dc0

, we must set the mount options based on the
DFS full path rather than the resolved target, that is, cifs_mount()
will be responsible for resolving the DFS link (cached) as well as
performing failover to any other targets in the referral.

Signed-off-by: default avatarPaulo Alcantara (SUSE) <pc@cjr.nz>
Reported-by: default avatarMartijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
Fixes: 4a367dc0

 ("cifs: Add support for failover in cifs_mount()")
Link: https://lore.kernel.org/linux-cifs/39643d7d-2abb-14d3-ced6-c394fab9a777@prodrive-technologies.com
Tested-by: default avatarMartijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 463a7b45
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment