diff options
Diffstat (limited to 'libdiskfs/peropen-make.c')
-rw-r--r-- | libdiskfs/peropen-make.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/peropen-make.c b/libdiskfs/peropen-make.c index eba037ff..6d5ca014 100644 --- a/libdiskfs/peropen-make.c +++ b/libdiskfs/peropen-make.c @@ -31,7 +31,7 @@ diskfs_make_peropen (struct node *np, int flags, struct peropen *context, po->filepointer = 0; po->lock_status = LOCK_UN; - po->refcnt = 0; + refcount_init (&po->refcnt, 0); po->openstat = flags; po->np = np; po->path = NULL; |