]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a7b310049841c082755ffb19e6735895bbcd769
tree28996ef93aac3041c93a849c60fb480287820af0
parentba197a0572a11943d66c9a48ee6fbbf758043e64
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