OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
Tue, 31 Jan 2006 04:13:11 EST
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd
afslogon.c smb.c smb3.c smb_ioctl.c
*Includes the changes from 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."
Fixup token deletion logic
Surround all references to smb_fid_t flags and other references
by obtaining and releasing the 'mx' lock.
--- DELTA config follows ---
windows-smb_fid_t-mx-20060130 openafs/src/WINNT/afsd/afslogon.c 1.41 1.42
windows-smb_fid_t-mx-20060130 openafs/src/WINNT/afsd/smb.c 1.105 1.106
windows-smb_fid_t-mx-20060130 openafs/src/WINNT/afsd/smb3.c 1.88 1.89
windows-smb_fid_t-mx-20060130 openafs/src/WINNT/afsd/smb_ioctl.c 1.21 1.22