summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2026-02-01 00:21:13 +0530
committerSasha Levin <sashal@kernel.org>2026-03-04 07:21:54 -0500
commit601dd3b79769b38d30b693c40afdb2a4b7edf9d0 (patch)
treeb7f5e0d22b2d682d9026a059b30a83f7a9846ea0 /include/net/aligned_data.h
parent7d9e0df82207388034a23b3bbebf389bef234714 (diff)
cifs: Fix locking usage for tcon fields
[ Upstream commit 96c4af418586ee9a6aab61738644366426e05316 ] We used to use the cifs_tcp_ses_lock to protect a lot of objects that are not just the server, ses or tcon lists. We later introduced srv_lock, ses_lock and tc_lock to protect fields within the corresponding structs. This was done to provide a more granular protection and avoid unnecessary serialization. There were still a couple of uses of cifs_tcp_ses_lock to provide tcon fields. In this patch, I've replaced them with tc_lock. Cc: stable@vger.kernel.org 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>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions