git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
90e4242
)
blacklistonce-use-only-initd-vrequest-20081020
author
Marc Dionne
<marc.c.dionne@gmail.com>
Mon, 20 Oct 2008 13:01:34 +0000 (13:01 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 20 Oct 2008 13:01:34 +0000 (13:01 +0000)
LICENSE IPL10
avoid using an un "initd" vrequest for server blacklisting
src/afs/afs_conn.c
patch
|
blob
|
history
diff --git
a/src/afs/afs_conn.c
b/src/afs/afs_conn.c
index
252e72c
..
0441df1
100644
(file)
--- a/
src/afs/afs_conn.c
+++ b/
src/afs/afs_conn.c
@@
-96,7
+96,8
@@
afs_Conn(register struct VenusFid *afid, register struct vrequest *areq,
/* First is always lowest rank, if it's up */
if ((tv->status[0] == not_busy) && tv->serverHost[0]
&& !(tv->serverHost[0]->addr->sa_flags & SRVR_ISDOWN) &&
- !(((areq->idleError > 0) || (areq->tokenError > 0))
+ !((areq->initd == 1) &&
+ ((areq->idleError > 0) || (areq->tokenError > 0))
&& (areq->skipserver[0] == 1)))
lowp = tv->serverHost[0]->addr;