diff options
| author | Shyam Prasad N <sprasad@microsoft.com> | 2026-02-01 00:21:13 +0530 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:25 -0500 |
| commit | 3969db6b22e3d90d8c5f22ac1a7fe0350a94c136 (patch) | |
| tree | ba095d0c957a82553335200e376eb430d94e64c9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 80a2e762b21774da69fcf42184835525a7e4a8d9 (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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
