]> 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)
commit9ba9783fc7401405412ee0cb74e8d3b5c216322d
tree28996ef93aac3041c93a849c60fb480287820af0
parenta78482c8bb2a2c159b3475219ef27b9cff8653b3
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