summaryrefslogtreecommitdiff
path: root/libnetfs/file-chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-chmod.c')
-rw-r--r--libnetfs/file-chmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-chmod.c b/libnetfs/file-chmod.c
index 0f082f18..413261ca 100644
--- a/libnetfs/file-chmod.c
+++ b/libnetfs/file-chmod.c
@@ -32,8 +32,8 @@ netfs_S_file_chmod (struct protid *user,
mode &= ~(S_IFMT | S_ISPARE | S_ITRANS);
- mutex_lock (&user->po->np->lock);
+ pthread_mutex_lock (&user->po->np->lock);
err = netfs_attempt_chmod (user->user, user->po->np, mode);
- mutex_unlock (&user->po->np->lock);
+ pthread_mutex_unlock (&user->po->np->lock);
return err;
}