summaryrefslogtreecommitdiff
path: root/fs/cifs/misc.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2022-04-08 16:31:37 +0300
committerSteve French <stfrench@microsoft.com>2022-05-24 22:16:32 +0300
commit5752bf645f9dd7db600651f726eb04a97c9f597f (patch)
treef486c71eb05d7e37800e182d49325838ac0c2af3 /fs/cifs/misc.c
parentdd3cd8709ed5f4ae8998e0cd44c05bd26bc879e8 (diff)
downloadlinux-5752bf645f9dd7db600651f726eb04a97c9f597f.tar.xz
cifs: avoid parallel session setups on same channel
After allowing channels to reconnect in parallel, it now becomes important to take care that multiple processes do not call negotiate/session setup in parallel on the same channel. This change avoids that by marking a channel as "in_reconnect". During session setup if the channel in question has this flag set, we return immediately. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/misc.c')
0 files changed, 0 insertions, 0 deletions