venti: fix vtcachealloc and VtMaxLumpSize

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5309073
This commit is contained in:
David du Colombier 2011-11-08 09:02:36 -05:00 committed by Russ Cox
parent 4544da5200
commit db60da46b3
3 changed files with 14 additions and 2 deletions

View file

@ -65,7 +65,7 @@ threadmain(int argc, char *argv[])
sysfatal("vtconnect: %r");
// write file
c = vtcachealloc(z, Blocksize, 32);
c = vtcachealloc(z, Blocksize*32);
if(c == nil)
sysfatal("vtcachealloc: %r");
f = vtfilecreateroot(c, Blocksize, Blocksize, VtDataType);