https://github.com/torvalds/linux
Revision 16dd9b8c31aee7ae074fa3ee36a797e9ba9f7e4f authored by Shyam Prasad N on 15 July 2021, 04:00:00 UTC, committed by Steve French on 16 July 2021, 00:07:00 UTC
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>
1 parent 63f94e9
History
Tip revision: 16dd9b8c31aee7ae074fa3ee36a797e9ba9f7e4f authored by Shyam Prasad N on 15 July 2021, 04:00:00 UTC
cifs: added WARN_ON for all the count decrements
Tip revision: 16dd9b8
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 16.6 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.9 KB
.mailmap -rw-r--r-- 19.7 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 98.6 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 596.6 KB
Makefile -rw-r--r-- 63.5 KB
README -rw-r--r-- 727 bytes

README

back to top