summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 3a00a448..db7e5b49 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -73,6 +73,7 @@ diskfs_cached_lookup (int inum, struct node **npp)
return ENOMEM;
}
dn->dirents = 0;
+ dn->dir_idx = 0;
dn->pager = 0;
rwlock_init (&dn->alloc_lock);
pokel_init (&dn->indir_pokel, disk_pager, disk_image);