From 77437ce31e9e57980c36c88cae60dfc2bf2c2883 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 17 Jul 1996 21:45:28 +0000 Subject: (diskfs_cached_lookup): Initialize debugging info. --- ext2fs/inode.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext2fs') 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; -- cgit v1.2.3