summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-09-21 17:38:49 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-09-21 17:38:49 +0000
commitdc464d433ac51f04c667c2e02eff3c04c0e5c180 (patch)
treeda274589a236ddb44e2932e369e4e93c58e6abd0 /ufs
parent45294c7f5df22efc69259a2b7d544000b0cc0743 (diff)
Formerly inode.c.~34~
Diffstat (limited to 'ufs')
-rw-r--r--ufs/inode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ufs/inode.c b/ufs/inode.c
index 72bdc313..55cef7d9 100644
--- a/ufs/inode.c
+++ b/ufs/inode.c
@@ -78,6 +78,8 @@ iget (ino_t inum, struct node **npp)
rwlock_init (&dn->datalock);
dn->dinloc = 0;
dn->sinloc = 0;
+ dn->dinloclen = 0;
+ dn->sinloclen = 0;
dn->sininfo = 0;
dn->fileinfo = 0;
@@ -147,6 +149,7 @@ diskfs_node_norefs (struct node *np)
free (np->dn->dirents);
assert (!np->dn->sininfo && !np->dn->fileinfo);
assert (!np->dn->dinloc && !np->dn->sinloc);
+ assert (!np->dn->dinloclen && !np->dn->sinloclen);
free (np->dn);
free (np);
}