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
commit5e000c6f02312a721761e665a5b8db173d29996e (patch)
treea68e031050615e01b9d5202991c44396f46ffba3 /ufs
parent3f1568c61e2af535260364356338cc6adfff22d2 (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);
}