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

Sun, 30 May 2004 10:39:05 EDT

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

Modified Files:
	cm_buf.c cm_cell.c cm_ioctl.c cm_scache.c cm_server.c 
	cm_server.h smb.c smb_ioctl.c 
Log Message:
DELTA dns-and-server-ref-counts-20040530

   * Add debug info to test whether CM_BUF_WAITING or CM_SCACHE_WAITING
     are ever set more than once at a time
   * Fix the management of lists of cm_cell_t structures when using 
     DNS to lookup cell information.  The previous code would fail to
     reuse the same cellID for a cell if DNS was used more than once
     for a given cell name.  When the ttl expired, a single cm_cell_t
     could be inserted into the cm_allCellsp list more than once 
     producing a loop.  In addition, the vlServerp list belonging to
     the cell was not freed resulting in improper refCounting of the

   * Add DNS support to cm_IoctlNewCell() which previous only examined
     the CellServDB file

   * Add cm_FreeServer() function and call it from cm_FreeServerList()
     to properly garbage collect cm_server_t objects 
   * Add numVCs variable to smb.c to track the number of smb_vc_t 
     objects created and use it to initialize the vcID field which 
     previously was set to 0 in all objects resulting in FindByID 

--- DELTA config follows ---
dns-and-server-ref-counts-20040530 openafs/src/WINNT/afsd/cm_buf.c 1.11 1.12
dns-and-server-ref-counts-20040530 openafs/src/WINNT/afsd/cm_cell.c 1.8 1.9
dns-and-server-ref-counts-20040530 openafs/src/WINNT/afsd/cm_ioctl.c 1.20 1.21
dns-and-server-ref-counts-20040530 openafs/src/WINNT/afsd/cm_scache.c 1.9 1.10
dns-and-server-ref-counts-20040530 openafs/src/WINNT/afsd/cm_server.c 1.5 1.6
dns-and-server-ref-counts-20040530 openafs/src/WINNT/afsd/cm_server.h 1.3 1.4
dns-and-server-ref-counts-20040530 openafs/src/WINNT/afsd/smb.c 1.40 1.41
dns-and-server-ref-counts-20040530 openafs/src/WINNT/afsd/smb_ioctl.c 1.11 1.12