summaryrefslogtreecommitdiff
path: root/ufs/inode.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-08-29 20:14:18 +0000
committerThomas Bushnell <thomas@gnu.org>1996-08-29 20:14:18 +0000
commit22e0d8473f89e19852d2b30d16347703f3b8617a (patch)
treeeede8a508e133c555f94915a2420209b532a4dc2 /ufs/inode.c
parent409adee2a6f70eab316757db78e7d6be2d415e59 (diff)
*** empty log message ***
Diffstat (limited to 'ufs/inode.c')
-rw-r--r--ufs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ufs/inode.c b/ufs/inode.c
index ae323a8c..b06cb8d4 100644
--- a/ufs/inode.c
+++ b/ufs/inode.c
@@ -69,6 +69,7 @@ diskfs_cached_lookup (int inum, struct node **npp)
dn->number = inum;
dn->dirents = 0;
+ dn->dir_idx = 0;
rwlock_init (&dn->allocptrlock);
dn->dirty = 0;