diff options
Diffstat (limited to 'libdiskfs/node-drop.c')
-rw-r--r-- | libdiskfs/node-drop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c index c3d32c96..8a097da5 100644 --- a/libdiskfs/node-drop.c +++ b/libdiskfs/node-drop.c @@ -61,7 +61,7 @@ diskfs_drop_node (struct node *np) will notice that the size is zero, and not have to do anything. */ np->references++; - spin_unlock (&diskfs_node_refcnt_lock); + pthread_spin_unlock (&diskfs_node_refcnt_lock); diskfs_truncate (np, 0); /* Force allocsize to zero; if truncate consistently fails this @@ -94,7 +94,7 @@ diskfs_drop_node (struct node *np) assert (!np->sockaddr); diskfs_node_norefs (np); - spin_unlock (&diskfs_node_refcnt_lock); + pthread_spin_unlock (&diskfs_node_refcnt_lock); } |