windows-checkvols-freelance-20070504
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 4 May 2007 07:05:05 +0000 (07:05 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 4 May 2007 07:05:05 +0000 (07:05 +0000)
do not flush mount point values for freelance volume

src/WINNT/afsd/cm_volume.c

index 7ad01bb..4167ccb 100644 (file)
@@ -612,7 +612,11 @@ void cm_RefreshVolumes(void)
     for ( scp = cm_data.scacheLRUFirstp; 
           scp;
           scp = (cm_scache_t *) osi_QNext(&scp->q)) {
-        if ( scp->fileType == CM_SCACHETYPE_MOUNTPOINT ) {
+        if ( scp->fileType == CM_SCACHETYPE_MOUNTPOINT 
+#ifdef AFS_FREELANCE_CLIENT
+             && !(scp->fid.cell == AFS_FAKE_ROOT_CELL_ID && scp->fid.volume == AFS_FAKE_ROOT_VOL_ID)
+#endif
+             ) {
             lock_ObtainMutex(&scp->mx);
             scp->mountPointStringp[0] = '\0';
             lock_ReleaseMutex(&scp->mx);