diff options
Diffstat (limited to 'libdiskfs/file-reparent.c')
-rw-r--r-- | libdiskfs/file-reparent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-reparent.c b/libdiskfs/file-reparent.c index e659bcf0..da6a51d2 100644 --- a/libdiskfs/file-reparent.c +++ b/libdiskfs/file-reparent.c @@ -37,7 +37,7 @@ diskfs_S_file_reparent (struct protid *cred, mach_port_t parent, node = cred->po->np; - mutex_lock (&node->lock); + pthread_mutex_lock (&node->lock); err = diskfs_make_peropen (node, cred->po->openstat, cred->po, &new_po); if (! err) { @@ -45,7 +45,7 @@ diskfs_S_file_reparent (struct protid *cred, mach_port_t parent, if (err) diskfs_release_peropen (new_po); } - mutex_unlock (&node->lock); + pthread_mutex_unlock (&node->lock); if (! err) { |