cifs: fix nodfs mount option
authorPaulo Alcantara <pc@cjr.nz>
Wed, 24 Feb 2021 23:59:24 +0000 (20:59 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 25 Feb 2021 18:13:59 +0000 (12:13 -0600)
commitd01132ae50207bb6fd94e08e80c2d7b839408086
tree7c9efcfed93ce6bf7d87f9deecab16580770ecbe
parentd08395a3f2f473c6ceeb316a1aeb7fad5b43014f
cifs: fix nodfs mount option

Skip DFS resolving when mounting with 'nodfs' even if
CONFIG_CIFS_DFS_UPCALL is enabled.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@vger.kernel.org # 5.11
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c