commit | 88b024f556fcd5bf1288c6333016f576cfa5f539 | [log] [tgz] |
---|---|---|
author | Shyam Prasad N <sprasad@microsoft.com> | Fri Nov 19 14:16:57 2021 +0000 |
committer | Steve French <stfrench@microsoft.com> | Wed Jan 19 11:10:54 2022 -0600 |
tree | 26e936c19c55aa2484d3ae6c4c23e9fde3ff0d2d | |
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>