summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-08-30 17:55:52 +0000
committerMiles Bader <miles@gnu.org>1996-08-30 17:55:52 +0000
commitb0072c4bbd4bfad89f6853b1c15c62717ce91252 (patch)
tree43cab4635b5ff1b7fb63f3f6c6afd2dc93a63119 /ext2fs
parent6596980003f9e97d6f6c220df0d97f976ab662fc (diff)
(diskfs_cached_lookup): Initialize DN->dir_idx.
Diffstat (limited to 'ext2fs')
-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);