From 541e60b69189bdfa82fc98a4fdf9582ca45a2ea1 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 2 Jun 1994 16:04:02 +0000 Subject: Formerly node-make.c.~7~ --- libdiskfs/node-make.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libdiskfs/node-make.c b/libdiskfs/node-make.c index 55d6f44f..5db4f5fe 100644 --- a/libdiskfs/node-make.c +++ b/libdiskfs/node-make.c @@ -20,7 +20,7 @@ /* Create a and return new node structure with DN as its physical disknode. - The node will have one user reference. */ + The node will have one hard reference and no light references. */ struct node * diskfs_make_node (struct disknode *dn) { @@ -34,6 +34,7 @@ diskfs_make_node (struct disknode *dn) mutex_init (&np->lock); np->references = 1; + np->light_references = 0; np->owner = 0; fshelp_init_trans_link (&np->translator); -- cgit v1.2.3