From: Daryl Clevenger Date: Fri, 28 Mar 2003 09:21:37 +0000 (+0000) Subject: STABLE12-flushhostcps-init-held-20030328 X-Git-Tag: openafs-stable-1_2_9~17 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=bfb32a8cd295ed7f1ce9d287d90391a73e8a6641;p=packages%2Fo%2Fopenafs.git STABLE12-flushhostcps-init-held-20030328 init held so flushhostcps is more useful. (cherry picked from commit 665e86f6fc4fbca43fd0d827d25f3de5f074e082) --- diff --git a/src/viced/host.c b/src/viced/host.c index d8ae1e818..9310d2678 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -534,7 +534,7 @@ void h_flushhostcps(hostaddr, hport) register afs_uint32 hostaddr, hport; /* net byte order */ { register struct host *host; - int held; + int held = 0; H_LOCK host = h_Lookup_r(hostaddr, hport, &held);