diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2021-07-15 06:00:00 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-07-16 02:07:00 +0200 |
commit | 16dd9b8c31aee7ae074fa3ee36a797e9ba9f7e4f (patch) | |
tree | d1d3f47648bd38eb5e40c13ccc9013dc32314703 /fs/cifs/smb2pdu.h | |
parent | cifs: fix missing null session check in mount (diff) | |
download | linux-16dd9b8c31aee7ae074fa3ee36a797e9ba9f7e4f.tar.xz linux-16dd9b8c31aee7ae074fa3ee36a797e9ba9f7e4f.zip |
cifs: added WARN_ON for all the count decrements
We have a few ref counters srv_count, ses_count and
tc_count which we use for ref counting. Added a WARN_ON
during the decrement of each of these counters to make
sure that they don't go below their minimum values.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions