]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: do not duplicate fscache cookie for secondary channels
authorShyam Prasad N <sprasad@microsoft.com>
Mon, 19 Jul 2021 13:59:14 +0000 (13:59 +0000)
committerSteve French <stfrench@microsoft.com>
Sat, 13 Nov 2021 05:29:08 +0000 (23:29 -0600)
commitb5a5b1fcf726fe7a880fdc43ef9e17ac113e740b
tree3ee55bf38d941e4c5e015ce52378153e279e9993
parent824834780680ae3784c658f57df1f3ba95d5f65e
cifs: do not duplicate fscache cookie for secondary channels

We allocate index cookies for each connection from the client.
However, we don't need this index for each channel in case of
multichannel. So making sure that we avoid creating duplicate
cookies by instantiating only for primary channel.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c