cut and paste fixes
This commit is contained in:
parent
cd27286eb1
commit
6df24754e4
1 changed files with 4 additions and 2 deletions
|
|
@ -397,8 +397,9 @@ vtcacheglobal(VtCache *c, uchar score[VtScoreSize], int type)
|
||||||
if(chattyventi)
|
if(chattyventi)
|
||||||
fprint(2, "cached read error for %V\n", score);
|
fprint(2, "cached read error for %V\n", score);
|
||||||
if(vttracelevel)
|
if(vttracelevel)
|
||||||
fprint(2, "vtcacheglobal %V %d => cache read error\n", score, typ werrstr("venti i/o error");
|
fprint(2, "vtcacheglobal %V %d => cache read error\n", score, type);
|
||||||
vtblockput(b);
|
vtblockput(b);
|
||||||
|
werrstr("venti i/o error");
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
if(vttracelevel)
|
if(vttracelevel)
|
||||||
|
|
@ -449,7 +450,8 @@ vtcacheglobal(VtCache *c, uchar score[VtScoreSize], int type)
|
||||||
b->iostate = BioVenti;
|
b->iostate = BioVenti;
|
||||||
b->nlock = 1;
|
b->nlock = 1;
|
||||||
if(vttracelevel)
|
if(vttracelevel)
|
||||||
fprint(2, "vtcacheglobal %V %d => loaded into cache; returning\n", score, ty return b;
|
fprint(2, "vtcacheglobal %V %d => loaded into cache; returning\n", score, type);
|
||||||
|
return b;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue