diff options
Diffstat (limited to 'libdiskfs/node-nrefl.c')
-rw-r--r-- | libdiskfs/node-nrefl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libdiskfs/node-nrefl.c b/libdiskfs/node-nrefl.c index 96922471..f7a823de 100644 --- a/libdiskfs/node-nrefl.c +++ b/libdiskfs/node-nrefl.c @@ -24,7 +24,5 @@ void diskfs_nref_light (struct node *np) { - pthread_spin_lock (&diskfs_node_refcnt_lock); - np->light_references++; - pthread_spin_unlock (&diskfs_node_refcnt_lock); + refcounts_ref_weak (&np->refcounts, NULL); } |