summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-02 16:04:02 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-02 16:04:02 +0000
commit541e60b69189bdfa82fc98a4fdf9582ca45a2ea1 (patch)
tree3acca1604e55df865768515d0624a81dfb0d31a6 /libdiskfs
parented493fe5e686de545ff3a3ea5884fba6faa921da (diff)
Formerly node-make.c.~7~
Diffstat (limited to 'libdiskfs')
-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);