* is just a performance hit.
*/
-#ifdef AFS_DISCON_ENV
static int
afs_DisconCreateSymlink(struct vcache *avc, char *aname,
struct vrequest *areq) {
ReleaseWriteLock(&tdc->lock);
return 0;
}
-#endif
/* don't set CDirty in here because RPC is called synchronously */
int
(tc, code, &adp->f.fid, &treq, AFS_STATS_FS_RPCIDX_SYMLINK,
SHARED_LOCK, NULL));
} else {
-#ifdef AFS_DISCON_ENV
newFid.Cell = adp->f.fid.Cell;
newFid.Fid.Volume = adp->f.fid.Fid.Volume;
afs_GenFakeFid(&newFid, VREG, 0);
-#endif
}
ObtainWriteLock(&afs_xvcache, 40);
ReleaseWriteLock(&afs_xcbhash);
if (AFS_IS_DISCON_RW) {
-#ifdef AFS_DISCON_ENV
attrs->va_mode = InStatus.UnixModeBits;
afs_GenDisconStatus(adp, tvc, &newFid, attrs, &treq, VLNK);
code = afs_DisconCreateSymlink(tvc, atargetName, &treq);
goto done;
}
afs_DisconAddDirty(tvc, VDisconCreate, 0);
-#endif
} else {
afs_ProcessFS(tvc, &OutFidStatus, &treq);
}