char *tbuffer1 = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
int cflags = parm4;
- /* wait for basic init */
+#if 0
+ /* wait for basic init - XXX can't find any reason we need this? */
while (afs_initState < AFSOP_START_BKG) afs_osi_Sleep(&afs_initState);
+#endif
AFS_COPYIN((char *)parm2, (char *)tcell.hosts, sizeof(tcell.hosts), code);
if (!code) {
printf("%s: Error enabling fakestat support.\n", rn);
}
+ /*
+ * Tell the kernel about each cell in the configuration.
+ */
+ afsconf_CellApply(cdir, ConfigCell, NULL);
+ afsconf_CellAliasApply(cdir, ConfigCellAlias, NULL);
+
+ /*
+ * Set the primary cell name.
+ */
+ call_syscall(AFSOP_SET_THISCELL, LclCellName);
+
/* Initialize AFS daemon threads. */
if (afsd_verbose)
printf("%s: Forking AFS daemon.\n", rn);
#endif
/*
- * Tell the kernel about each cell in the configuration.
- */
- afsconf_CellApply(cdir, ConfigCell, NULL);
- afsconf_CellAliasApply(cdir, ConfigCellAlias, NULL);
-
- /*
- * Set the primary cell name.
- */
- call_syscall(AFSOP_SET_THISCELL, LclCellName);
-
- /*
* If the root volume has been explicitly set, tell the kernel.
*/
if (rootVolSet) {