blacklistonce-use-only-initd-vrequest-20081020

LICENSE IPL10

avoid using an un "initd" vrequest for server blacklisting
This commit is contained in:
Marc Dionne 2008-10-20 13:01:34 +00:00 committed by Derrick Brashear
parent 90e4242c2d
commit 7366eb3d46

View File

@ -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;