Home
last modified time | relevance | path

Searched hist:cd743cfe (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/smb/client/
H A Ddfs.ccd743cfe Tue Feb 06 09:00:46 CST 2024 Shyam Prasad N <sprasad@microsoft.com> cifs: change tcon status when need_reconnect is set on it

[ Upstream commit c6e02eefd6ace3da3369c764f15429f5647056af ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
H A Dfile.ccd743cfe Tue Feb 06 09:00:46 CST 2024 Shyam Prasad N <sprasad@microsoft.com> cifs: change tcon status when need_reconnect is set on it

[ Upstream commit c6e02eefd6ace3da3369c764f15429f5647056af ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
H A Dconnect.ccd743cfe Tue Feb 06 09:00:46 CST 2024 Shyam Prasad N <sprasad@microsoft.com> cifs: change tcon status when need_reconnect is set on it

[ Upstream commit c6e02eefd6ace3da3369c764f15429f5647056af ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>