aboutsummaryrefslogtreecommitdiff
path: root/tmpfs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmpfs/dir.c')
-rw-r--r--tmpfs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmpfs/dir.c b/tmpfs/dir.c
index c0ae9785..45a07521 100644
--- a/tmpfs/dir.c
+++ b/tmpfs/dir.c
@@ -210,13 +210,13 @@ diskfs_lookup_hard (struct node *dp,
}
else
{
- mutex_unlock (&dp->lock);
+ pthread_mutex_unlock (&dp->lock);
err = diskfs_cached_lookup ((ino_t) (intptr_t) dddn, np);
if (type == (LOOKUP|SPEC_DOTDOT))
diskfs_nrele (dp);
else
- mutex_lock (&dp->lock);
+ pthread_mutex_lock (&dp->lock);
if (err)
*np = 0;