OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

Thu, 26 Jan 2006 01:09:49 EST

Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-4/src/WINNT/afsd

Modified Files:
      Tag: openafs-stable-1_4_x
	afslogon.c smb.c smb3.c smb_ioctl.c 
Log Message:
DELTA STABLE14-windows-smb_fid_t-audit-20060125

Further testing revealed that some smb_vc_t objects could not be freed
because the associated smb_fid_t objects never reached a zero refcount.
Additional auditing uncovered cases in which there were holds not being
released and others in which they were released to many times.  This 
patch fixes the problems and improves auditability by modifying the
behavior of the smb_IoctlXXX() functions to not release a reference
that was obtained by the caller.  Now the caller releases the reference.

--- DELTA config for openafs-stable-1_4_x follows ---
STABLE14-windows-smb_fid_t-audit-20060125 openafs/src/WINNT/afsd/afslogon.c
STABLE14-windows-smb_fid_t-audit-20060125 openafs/src/WINNT/afsd/smb.c
STABLE14-windows-smb_fid_t-audit-20060125 openafs/src/WINNT/afsd/smb3.c
STABLE14-windows-smb_fid_t-audit-20060125 openafs/src/WINNT/afsd/smb_ioctl.c