commit | c6e02eefd6ace3da3369c764f15429f5647056af | [log] [tgz] |
---|---|---|
author | Shyam Prasad N <sprasad@microsoft.com> | Tue Feb 06 15:00:46 2024 +0000 |
committer | Steve French <stfrench@microsoft.com> | Fri Feb 09 14:43:23 2024 -0600 |
tree | acbd8039c464288f46b498353727f0900435fbed | |
parent | 55c7788c37242702868bfac7861cdf0c358d6c3d [diff] |
cifs: change tcon status when need_reconnect is set on it When a tcon is marked for need_reconnect, the intention is to have it reconnected. This change adjusts tcon->status in cifs_tree_connect when need_reconnect is set. Also, this change has a minor correction in resetting need_reconnect on success. It makes sure that it is done with tc_lock held. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>