]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-smb-vc-refcount-debugging-20080801
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 1 Aug 2008 14:31:38 +0000 (14:31 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 1 Aug 2008 14:31:38 +0000 (14:31 +0000)
commit77add0fe9644d07ae84a0b6943772aa025f4074e
tree6366c74d11fa9f26704794ab7908f0020c6ea8cd
parent332fee329a92b8a6686e5bb6a3087082d82ec23d
DEVEL15-windows-smb-vc-refcount-debugging-20080801

LICENSE MIT

define DEBUG_SMB_REFCOUNT in smb.h to activate refcount debugging
versions of the functions that log the file and line number as
well as object and refcount.  This is for use in debugging refcount
leaks.

rename GetPacket and GetNCB to smb_GetPacket and smb_GetNCB, etc.,
to enforce the name space.  Do not confuse with similar Win32 API
functions.

restructure some code that refers to smb_vc_t references in order
to clarify where the refcount is dropped.

(cherry picked from commit 1f7ab13b6fffcf236927c7e3173d6e59d1521f4c)
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb.h
src/WINNT/afsd/smb3.c