cifs: fix the cifs_reconnect path for DFS
authorShyam Prasad N <sprasad@microsoft.com>
Sun, 16 Jan 2022 11:19:36 +0000 (11:19 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 19 Jan 2022 17:10:55 +0000 (11:10 -0600)
commite154cb7b0ab961f9d785ed34c2d7128413e7083d
tree28996ef93aac3041c93a849c60fb480287820af0
parent8a409cda978e212661b8c032e1b08b3b0b0f9d36
cifs: fix the cifs_reconnect path for DFS

Recently, the cifs_reconnect code was refactored into
two branches for regular vs dfs codepath. Some of my
recent changes were missing in the dfs path, namely the
code to enable periodic DNS query, and a missing lock.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c