diff options
-rw-r--r-- | libdiskfs/peropen-make.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/peropen-make.c b/libdiskfs/peropen-make.c index 0194d2c8..aea909ec 100644 --- a/libdiskfs/peropen-make.c +++ b/libdiskfs/peropen-make.c @@ -29,5 +29,6 @@ diskfs_make_peropen (struct node *np, int flags) po->refcnt = 0; po->openstat = flags; po->np = np; + diskfs_nref (np); return po; } |