return CM_ERROR_NOSUCHFILE;
}
else { /* nonexistent dir on freelance root, so add it */
+ osi_Log1(afsd_logp,"cm_Lookup adding mount for non-existent directory: %s", namep);
code = cm_FreelanceAddMount(namep, namep, "root.cell.",
&rock.fid);
if (code < 0) { /* add mount point failed, so give up */
// to be bulkstat-ed, instead, we call getSCache directly and under
// getSCache, it is handled specially.
if (cm_freelanceEnabled &&
- tfid.cell==0x1 && tfid.volume==0x20000001 &&
+ tfid.cell==0x1 && tfid.volume==AFS_FAKE_ROOT_VOL_ID &&
!(tfid.vnode==0x1 && tfid.unique==0x1) )
{
- osi_Log0(afsd_logp, "cm_TryBulkProc calling cm_GetSCache to avoid BulkStat");
+ osi_Log0(afsd_logp, "cm_TryBulkProc Freelance calls cm_SCache on root.afs mountpoint");
return cm_GetSCache(&tfid, &tscp, NULL, NULL);
}
#endif /* AFS_FREELANCE_CLIENT */