git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f749ef6
)
afs-checkservers-call-getuser-with-cell-index-20020321
author
Nathan Neulinger
<nneul@umr.edu>
Thu, 21 Mar 2002 18:11:50 +0000 (18:11 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 21 Mar 2002 18:11:50 +0000 (18:11 +0000)
this means to be calling afs_GetUser with a cell index, not with the cell
structure itself
src/afs/afs_server.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_server.c
b/src/afs/afs_server.c
index
5c3b48e
..
7ba2f13
100644
(file)
--- a/
src/afs/afs_server.c
+++ b/
src/afs/afs_server.c
@@
-561,7
+561,7
@@
void afs_CheckServers(adown, acellp)
continue; /* have just been added by setsprefs */
/* get a connection, even if host is down; bumps conn ref count */
- tu = afs_GetUser(treq.uid, ts->cell, SHARED_LOCK);
+ tu = afs_GetUser(treq.uid, ts->cell->cell, SHARED_LOCK);
tc = afs_ConnBySA(sa, ts->cell->fsport, ts->cell->cell, tu,
1/*force*/, 1/*create*/, SHARED_LOCK);
afs_PutUser(tu, SHARED_LOCK);