#endif
#if defined(AFS_DISCON_ENV)
afs_rwlock_t afs_discon_lock;
-extern afs_rwlock_t afs_DDirtyVCListLock;
+extern afs_rwlock_t afs_disconDirtyLock;
#endif
/*
AFS_RWLOCK_INIT(&afs_xaxs, "afs_xaxs");
#ifdef AFS_DISCON_ENV
AFS_RWLOCK_INIT(&afs_discon_lock, "afs_discon_lock");
- AFS_RWLOCK_INIT(&afs_DDirtyVCListLock, "afs_DDirtyVCListLock");
+ AFS_RWLOCK_INIT(&afs_disconDirtyLock, "afs_disconDirtyLock");
+ QInit(&afs_disconDirty);
+ QInit(&afs_disconShadow);
#endif
osi_dnlc_init();
int
afs_InitCellInfo(char *afile)
{
- ino_t inode;
+ ino_t inode = 0;
int code;
#if defined(LINUX_USE_FH)
struct fid fh;
*/
{
struct server *ts, *nts;
- struct conn *tc, *ntc;
+ struct afs_conn *tc, *ntc;
register struct afs_cbr *tcbrp, *tbrp;
for (i = 0; i < NSERVERS; i++) {
AFS_GUNLOCK();
rx_DestroyConnection(tc->id);
AFS_GLOCK();
- afs_osi_Free(tc, sizeof(struct conn));
+ afs_osi_Free(tc, sizeof(struct afs_conn));
tc = ntc;
}
}