fix problem in cache.
This commit is contained in:
parent
39ef727f46
commit
0c148046ed
4 changed files with 21 additions and 21 deletions
|
|
@ -661,9 +661,7 @@ static int
|
|||
mkindices(VtEntry *e, u32int bn, int *index)
|
||||
{
|
||||
int i, np;
|
||||
u32int obn;
|
||||
|
||||
obn = bn;
|
||||
memset(index, 0, VtPointerDepth*sizeof(int));
|
||||
|
||||
np = e->psize/VtScoreSize;
|
||||
|
|
@ -772,7 +770,6 @@ vtfileblockscore(VtFile *r, u32int bn, uchar score[VtScoreSize])
|
|||
return 0;
|
||||
|
||||
Err:
|
||||
fprint(2, "vtfileblockhash: %r\n");
|
||||
vtblockput(b);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue