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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Wed, 10 Oct 2007 11:22:15 EDT


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

Modified Files:
      Tag: openafs-devel-1_5_x
	cm_cell.c cm_ioctl.c cm_volume.c 
Log Message:
DELTA DEVEL15-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 for openafs-devel-1_5_x follows ---
DEVEL15-windows-freelance-pioctl-20071010 openafs/src/WINNT/afsd/cm_cell.c 1.23.2.6 1.23.2.7
DEVEL15-windows-freelance-pioctl-20071010 openafs/src/WINNT/afsd/cm_ioctl.c 1.73.2.20 1.73.2.21
DEVEL15-windows-freelance-pioctl-20071010 openafs/src/WINNT/afsd/cm_volume.c 1.14.4.15 1.14.4.16