summaryrefslogtreecommitdiff
path: root/ftpfs/ncache.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftpfs/ncache.c')
-rw-r--r--ftpfs/ncache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftpfs/ncache.c b/ftpfs/ncache.c
index 27b868a7..612dc081 100644
--- a/ftpfs/ncache.c
+++ b/ftpfs/ncache.c
@@ -51,7 +51,7 @@ ftpfs_cache_node (struct node *node)
struct netnode *nn = node->nn;
struct ftpfs *fs = nn->fs;
- mutex_lock (&fs->node_cache_lock);
+ pthread_mutex_lock (&fs->node_cache_lock);
if (fs->params.node_cache_max > 0 || fs->node_cache_len > 0)
{
@@ -83,5 +83,5 @@ ftpfs_cache_node (struct node *node)
}
}
- mutex_unlock (&fs->node_cache_lock);
+ pthread_mutex_unlock (&fs->node_cache_lock);
}