From dc464d433ac51f04c667c2e02eff3c04c0e5c180 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 21 Sep 1994 17:38:49 +0000 Subject: Formerly inode.c.~34~ --- ufs/inode.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ufs/inode.c') 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); } -- cgit v1.2.3