diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2021-11-19 14:16:57 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-01-19 11:10:54 -0600 |
commit | 88b024f556fcd5bf1288c6333016f576cfa5f539 (patch) | |
tree | 26e936c19c55aa2484d3ae6c4c23e9fde3ff0d2d /scripts/gcc-plugins/structleak_plugin.c | |
parent | a05885ce13bd5ec9602551e32dfb1a4f26bfa542 (diff) |
cifs: protect all accesses to chan_* with chan_lock
A spin lock called chan_lock was introduced recently.
But not all accesses were protected. Doing that with
this change.
To make sure that a channel is not freed when in use,
we need to introduce a ref count. But today, we don't
ever free channels.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions