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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Wed, 10 Oct 2007 11:20:30 EDT


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

Modified Files:
	cm_cell.c cm_ioctl.c cm_volume.c 
Log Message:
DELTA windows-freelance-pioctl-20071010
AUTHOR jaltman@secure-endpoints.com

pioctl commands were failing with CM_ERROR_NOSUCHCELL because the 
Freelance cell object was not being added to the Cell Name and ID
hash tables.

ParseIoctlPath was not consistently returning the FID of the specified
symlink or mount point object.  The was still one more case in which 
CM_FLAG_FOLLOW was being specified left over from 
windows-parse-ioctl-path-20070629.  Changed the use of CM_FLAG_FOLLOW
into a 'follow' variable to ease testing and permit easy migration to 
adding a 'follow' parameter to the function.

RXAFS_GetVolumeStatus is always going to fail for Freelance volumes.
Fake the response data.

UpdateVolume() was performing the wrong test for Freelance volumes.
Freelance volumes should not be marked offline even though they have
no servers.



--- DELTA config follows ---
windows-freelance-pioctl-20071010 openafs/src/WINNT/afsd/cm_cell.c 1.30 1.31
windows-freelance-pioctl-20071010 openafs/src/WINNT/afsd/cm_ioctl.c 1.94 1.95
windows-freelance-pioctl-20071010 openafs/src/WINNT/afsd/cm_volume.c 1.30 1.31