summaryrefslogtreecommitdiff
path: root/libnetfs/file-chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-chown.c')
-rw-r--r--libnetfs/file-chown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-chown.c b/libnetfs/file-chown.c
index 4b724048..d02876c7 100644
--- a/libnetfs/file-chown.c
+++ b/libnetfs/file-chown.c
@@ -31,9 +31,9 @@ netfs_S_file_chown (struct protid *user,
if (!user)
return EOPNOTSUPP;
- mutex_lock (&user->po->np->lock);
+ pthread_mutex_lock (&user->po->np->lock);
err = netfs_attempt_chown (user->user, user->po->np,
owner, group);
- mutex_unlock (&user->po->np->lock);
+ pthread_mutex_unlock (&user->po->np->lock);
return err;
}