diff options
author | Miles Bader <miles@gnu.org> | 1996-08-30 17:55:52 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-08-30 17:55:52 +0000 |
commit | b0072c4bbd4bfad89f6853b1c15c62717ce91252 (patch) | |
tree | 43cab4635b5ff1b7fb63f3f6c6afd2dc93a63119 /ext2fs | |
parent | 6596980003f9e97d6f6c220df0d97f976ab662fc (diff) |
(diskfs_cached_lookup): Initialize DN->dir_idx.
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/inode.c | 1 |
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); |