From 39b027504b9b26b9b71aa4abac5f2b66f256f200 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 18 Jun 2007 19:03:00 +0000 Subject: [PATCH] avoid-empty-uuid-20070618 avoid issue where uuid can potentially be 0: set one always at AFSOP_GO step --- src/afs/afs_call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index 68a313aa0d..5d1978bb15 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];