summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-17 21:45:28 +0000
committerMiles Bader <miles@gnu.org>1996-07-17 21:45:28 +0000
commit77437ce31e9e57980c36c88cae60dfc2bf2c2883 (patch)
tree0a62d1756f4040293cb04dac18851075a9fbf17a /ext2fs
parentf0d6fbcf3f34209f5c7ddaf177bba4ce45694dea (diff)
(diskfs_cached_lookup): Initialize debugging info.
Diffstat (limited to 'ext2fs')
-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;