]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-viced-fix-comment-20060301
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 2 Mar 2006 06:24:41 +0000 (06:24 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 2 Mar 2006 06:24:41 +0000 (06:24 +0000)
fix comment in h_GetHost_r

(cherry picked from commit c2ef97ea657f27af5fdc7811a8b6bb21ed535707)

src/viced/host.c

index fb56e93ba3c3e102152c995463d1c85f1fdef52f..96ce9c15b7a6baaa5c782f7b60b20c977961c40b 100644 (file)
@@ -1384,11 +1384,7 @@ h_GetHost_r(struct rx_connection *tcon)
                    }
                    host->hostFlags |= HOSTDELETED;
                    h_Unlock_r(host);
-                   /* regardless of whether or not we obtained the hold on 
-                    * 'host', we are going to release it here because we 
-                    * are replacing it with 'oldHost' and when CallPostamble 
-                    * is called, the host that is obtained is going to be 
-                    * 'oldHost' and not 'host'. */
+                   /* release host because it was allocated by h_Alloc_r */
                    h_Release_r(host);
                    host = oldHost;
                    /* the new host is held and locked */