]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-findclient-print-stolen-clients-20040805
authorDerrick Brashear <shadow@dementia.org>
Mon, 18 Oct 2004 04:21:40 +0000 (04:21 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 18 Oct 2004 04:21:40 +0000 (04:21 +0000)
when a client is "stolen" due to a race, print it.

src/viced/host.c

index 6b5d0c9f27d448198b933faee8845b67a82298c3..f13e50ce63d46dacb3992e00f27bd7c712d64d13 100644 (file)
@@ -1465,6 +1465,10 @@ ticket name length != 64
      */
     if (oldClient = (struct client *) rx_GetSpecific(tcon, rxcon_client_key)) {
        oldClient->tcon = (struct rx_connection *) 0;
+        ViceLog(0, ("FindClient: client %x(%x) already had conn %x (host %x), s
+tolen by client %x(%x)\n", 
+                    oldClient, oldClient->sid, tcon, 
+                    rx_HostOf(rx_PeerOf(tcon)), client, client->sid));
        /* rx_SetSpecific will be done immediately below */
     }
     client->tcon = tcon;