summaryrefslogtreecommitdiff
path: root/libdiskfs/file-get-transcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-get-transcntl.c')
-rw-r--r--libdiskfs/file-get-transcntl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-get-transcntl.c b/libdiskfs/file-get-transcntl.c
index 528529fb..c7fad91a 100644
--- a/libdiskfs/file-get-transcntl.c
+++ b/libdiskfs/file-get-transcntl.c
@@ -32,7 +32,7 @@ diskfs_S_file_get_translator_cntl (struct protid *cred,
np = cred->po->np;
- mutex_lock (&np->lock);
+ pthread_mutex_lock (&np->lock);
error = fshelp_isowner (&np->dn_stat, cred->user);
if (!error)
@@ -42,7 +42,7 @@ diskfs_S_file_get_translator_cntl (struct protid *cred,
if (!error)
*ctltype = MACH_MSG_TYPE_MOVE_SEND;
- mutex_unlock (&np->lock);
+ pthread_mutex_unlock (&np->lock);
return error;
}