summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/node-make.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/node-make.c b/libdiskfs/node-make.c
index 1159357b..ef368663 100644
--- a/libdiskfs/node-make.c
+++ b/libdiskfs/node-make.c
@@ -37,6 +37,7 @@ diskfs_make_node (struct disknode *dn)
fshelp_init_trans_link (&np->translator);
ioserver_initialize_conch (&np->conch, &np->lock);
+ fshelp_lock_init (&np->userlock);
np->flock_type = LOCK_UN;
condition_init (&np->flockwait);