diff options
Diffstat (limited to 'libnetfs/nref.c')
-rw-r--r-- | libnetfs/nref.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/nref.c b/libnetfs/nref.c index 4e26910f..86b49927 100644 --- a/libnetfs/nref.c +++ b/libnetfs/nref.c @@ -23,7 +23,7 @@ void netfs_nref (struct node *np) { - spin_lock (&netfs_node_refcnt_lock); + pthread_spin_lock (&netfs_node_refcnt_lock); np->references++; - spin_unlock (&netfs_node_refcnt_lock); + pthread_spin_unlock (&netfs_node_refcnt_lock); } |