summaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/inode.c')
-rw-r--r--ext2fs/inode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 05e7e14c..4936cab7 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -77,6 +77,10 @@ diskfs_cached_lookup (int inum, struct node **npp)
rwlock_init (&dn->alloc_lock);
pokel_init (&dn->indir_pokel, disk_pager, disk_image);
+ bzero (&dn->last_acts, sizeof dn->last_acts);
+ bzero (&dn->last_addrs, sizeof dn->last_addrs);
+ dn->last_offs = 0;
+
/* Create the new node. */
np = diskfs_make_node (dn);
np->cache_id = inum;