From: Derrick Brashear Date: Mon, 18 Jun 2007 19:03:00 +0000 (+0000) Subject: avoid-empty-uuid-20070618 X-Git-Tag: BP-openafs-windows-kdfs-ifs~661 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=39b027504b9b26b9b71aa4abac5f2b66f256f200;p=packages%2Fo%2Fopenafs.git avoid-empty-uuid-20070618 avoid issue where uuid can potentially be 0: set one always at AFSOP_GO step --- diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index 68a313aa0..5d1978bb1 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -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];