avoid-empty-uuid-20070618

avoid issue where uuid can potentially be 0: set one always at AFSOP_GO step
This commit is contained in:
Derrick Brashear 2007-06-18 19:03:00 +00:00
parent 0c5cf6028d
commit 39b027504b

View File

@ -837,6 +837,7 @@ afs_syscall_call(parm, parm2, parm3, parm4, parm5, parm6)
#if (!defined(AFS_NONFSTRANS)) || defined(AFS_AIX_IAUTH_ENV)
afs_nfsclient_init();
#endif
afs_uuid_create(&afs_cb_interface.uuid);
printf("found %d non-empty cache files (%d%%).\n",
afs_stats_cmperf.cacheFilesReused,
(100 * afs_stats_cmperf.cacheFilesReused) /
@ -893,7 +894,6 @@ afs_syscall_call(parm, parm2, parm3, parm4, parm5, parm6)
afs_cb_interface.mtu[i] = (parm5 ? mtubuffer[i] : htonl(1500));
#endif
}
afs_uuid_create(&afs_cb_interface.uuid);
rxi_setaddr(buffer[0]);
if (rxbind)
rx_bindhost = buffer[0];