DEVEL15-blacklist-check-only-existing-servers-20081020
authorDerrick Brashear <shadow@dementia.org>
Mon, 20 Oct 2008 13:03:55 +0000 (13:03 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 20 Oct 2008 13:03:55 +0000 (13:03 +0000)
LICENSE IPL10

based on suggestion from haba@pdc.kth.se

(cherry picked from commit 3ad8fba85f5b45cdd6537c3ca71717c9370cc48e)

src/afs/afs_analyze.c

index a5d9647..1951eef 100644 (file)
@@ -264,7 +264,7 @@ afs_BlackListOnce(struct vrequest *areq, struct VenusFid *afid,
        }
     }
     for (i = 0; i < MAXHOSTS; i++) {
-       if (areq->skipserver[i] == 0) {
+       if (tvp->serverHost[i] && areq->skipserver[i] == 0) {
            serversleft = 1;
            break;
        }