git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
efa250b
)
Call afs_PutCell after afs_GetCellByIndex, even though right
author
Nickolai Zeldovich
<kolya@mit.edu>
Mon, 18 Mar 2002 02:51:13 +0000 (
02:51
+0000)
committer
Nickolai Zeldovich
<kolya@mit.edu>
Mon, 18 Mar 2002 02:51:13 +0000 (
02:51
+0000)
now it doesn't do anything.
src/afs/afs_callback.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_callback.c
b/src/afs/afs_callback.c
index
cf7da16
..
f59ef40
100644
(file)
--- a/
src/afs/afs_callback.c
+++ b/
src/afs/afs_callback.c
@@
-1200,6
+1200,7
@@
int SRXAFSCB_GetCellServDB(
a_hosts[j] = ntohl(tcell->cellHosts[j]->addr->sa_ip);
}
i = strlen(p_name);
+ afs_PutCell(tcell, READ_LOCK);
}
t_name = (char *)rxi_Alloc(i+1);