aboutsummaryrefslogtreecommitdiff
path: root/src/libventi/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libventi/file.c')
-rw-r--r--src/libventi/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libventi/file.c b/src/libventi/file.c
index 7c245fc2..89b307c6 100644
--- a/src/libventi/file.c
+++ b/src/libventi/file.c
@@ -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;