This commit is contained in:
rsc 2005-07-13 13:59:50 +00:00
parent e9254adc8f
commit c1e6f6426f
3 changed files with 11 additions and 10 deletions

View file

@ -86,6 +86,7 @@ vtfilealloc(VtCache *c, VtBlock *b, VtFile *p, u32int offset, int mode)
r->c = c;
r->mode = mode;
r->dsize = e.dsize;
r->psize = e.psize;
r->gen = e.gen;
r->dir = (e.type & VtTypeBaseMask) == VtDirType;
r->ref = 1;