git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
10f8d50
)
viced-fix-comment-20060301
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Thu, 2 Mar 2006 06:22:15 +0000 (06:22 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Thu, 2 Mar 2006 06:22:15 +0000 (06:22 +0000)
fix comment in h_GetHost_r
src/viced/host.c
patch
|
blob
|
history
diff --git
a/src/viced/host.c
b/src/viced/host.c
index
71162d1
..
f586364
100644
(file)
--- a/
src/viced/host.c
+++ b/
src/viced/host.c
@@
-1385,11
+1385,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 */