summaryrefslogtreecommitdiff
path: root/fs/cifs/misc.c
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.com>2023-03-14 20:32:53 -0300
committerSteve French <stfrench@microsoft.com>2023-03-14 21:05:53 -0500
commitb56bce502f55505a97e381d546ee881928183126 (patch)
treef26b519515e2423fa65b515c23eeefc46e35f124 /fs/cifs/misc.c
parent05ce0448c3f36febd8db0ee0e9e16557f3ab5ee8 (diff)
cifs: set DFS root session in cifs_get_smb_ses()
Set the DFS root session pointer earlier when creating a new SMB session to prevent racing with smb2_reconnect(), cifs_reconnect_tcon() and DFS cache refresher. Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Cc: stable@vger.kernel.org # 6.2 Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/misc.c')
0 files changed, 0 insertions, 0 deletions