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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 03 Nov 2008 14:55:38 EST


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

Modified Files:
	afskfw.c cm_cell.c cm_cell.h cm_config.c cm_config.h 
	cm_ioctl.c cm_volume.c cm_volume.h fs.c libafsconf.def 
Log Message:
DELTA windows-linked-cells-20081103
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT
FIXES 123571

The Windows code base was implemented ignorant of linked cells as 
defined in the src/auth/cellconfig.h struct afsconf_cell.  The code
that made use of the afsconf_cell objects would leak the memory from
the linkedCell field if is non-NULL.

Add cm_SearchCellFileEx which is an extended version of cm_SearchCellFile
capable of returning a linked cell obtained from the CellServDB file.

Update GetCellConfig to populate the linkedCell field of the afsconf_cell
structure.

Modify cm_cell_t to support a linked cell name.

Modify cm_GetCell_Gen() to populate the cm_cell_t linked cell and enforce
that two cells are linked to each other.

Modify cm_GetVolumeByID() and cm_GetVolumeByName() to perform fallback
to the linked cell if the response is CM_ERROR_NOSUCHVOLUME.



--- DELTA config follows ---
windows-linked-cells-20081103 openafs/src/WINNT/afsd/afskfw.c 1.48 1.49
windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_cell.c 1.49 1.50
windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_cell.h 1.17 1.18
windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_config.c 1.36 1.37
windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_config.h 1.17 1.18
windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_ioctl.c 1.138 1.139
windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_volume.c 1.69 1.70
windows-linked-cells-20081103 openafs/src/WINNT/afsd/cm_volume.h 1.21 1.22
windows-linked-cells-20081103 openafs/src/WINNT/afsd/fs.c 1.57 1.58
windows-linked-cells-20081103 openafs/src/WINNT/afsd/libafsconf.def 1.5 1.6