summaryrefslogtreecommitdiff
path: root/libdiskfs/node-make.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/node-make.c')
-rw-r--r--libdiskfs/node-make.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdiskfs/node-make.c b/libdiskfs/node-make.c
index ff0cc0d4..c7ca3b04 100644
--- a/libdiskfs/node-make.c
+++ b/libdiskfs/node-make.c
@@ -29,8 +29,7 @@ init_node (struct node *np, struct disknode *dn)
np->dn_stat_dirty = 0;
pthread_mutex_init (&np->lock, NULL);
- np->references = 1;
- np->light_references = 0;
+ refcounts_init (&np->refcounts, 1, 0);
np->owner = 0;
np->sockaddr = MACH_PORT_NULL;