Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 16dd9b8c authored by Shyam Prasad N's avatar Shyam Prasad N Committed by Steve French
Browse files

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: default avatarShyam Prasad N <sprasad@microsoft.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 63f94e94
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment