summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/node-make.c3
1 files changed, 2 insertions, 1 deletions
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);