cifs: remove repeated state change in dfs tree connect
authorShyam Prasad N <sprasad@microsoft.com>
Sun, 16 Jan 2022 13:28:34 +0000 (13:28 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 19 Jan 2022 17:10:55 +0000 (11:10 -0600)
commitece0767641740c7eea7aee5a332728e115b00eab
treebd652a7936713290f89fc9bfc6bdac1eb36731c6
parente154cb7b0ab961f9d785ed34c2d7128413e7083d
cifs: remove repeated state change in dfs tree connect

cifs_tree_connect checks and sets the tidStatus for the tcon.
cifs_tree_connect also calls a dfs specific tree connect
function, which also does similar checks. This should
not happen. Removing it with this change.

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