viced-missing-lock-20071109
[openafs.git] / src / viced / host.c
index 764a558..24809b5 100644 (file)
@@ -1576,6 +1576,7 @@ h_GetHost_r(struct rx_connection *tcon)
                     host->interface ? uuid2 : "no_uuid"));
 
            /* The host in the cache is not the host for this connection */
+            h_Lock_r(host);
            host->hostFlags |= HOSTDELETED;
            host->hostFlags &= ~HWHO_INPROGRESS;
            h_Unlock_r(host);