mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
DEVEL153X-afs-blacklist-initialize-volume-ptr-always-20080628
LICENSE IPL10 always initialize this (cherry picked from commit dff0d834a7c03d19d572d74849599ac89c2a058e)
This commit is contained in:
parent
11df23f038
commit
6458132196
@ -247,7 +247,7 @@ afs_BlackListOnce(struct vrequest *areq, struct VenusFid *afid,
|
||||
afs_int32 i;
|
||||
afs_int32 serversleft = 0;
|
||||
|
||||
if (afid)
|
||||
if (afid) {
|
||||
tvp = afs_FindVolume(afid, READ_LOCK);
|
||||
if (tvp) {
|
||||
for (i = 0; i < MAXHOSTS; i++) {
|
||||
@ -262,6 +262,7 @@ afs_BlackListOnce(struct vrequest *areq, struct VenusFid *afid,
|
||||
}
|
||||
afs_PutVolume(tvp, READ_LOCK);
|
||||
}
|
||||
}
|
||||
for (i = 0; i < MAXHOSTS; i++) {
|
||||
if (areq->skipserver[i] == 0) {
|
||||
serversleft = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user