mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
avoid-empty-uuid-20070618
avoid issue where uuid can potentially be 0: set one always at AFSOP_GO step
This commit is contained in:
parent
0c5cf6028d
commit
39b027504b
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user