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