summaryrefslogtreecommitdiff
path: root/libnetfs/file-chflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-chflags.c')
-rw-r--r--libnetfs/file-chflags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-chflags.c b/libnetfs/file-chflags.c
index 068a1cea..a5c132d4 100644
--- a/libnetfs/file-chflags.c
+++ b/libnetfs/file-chflags.c
@@ -30,8 +30,8 @@ netfs_S_file_chflags (struct protid *user,
if (!user)
return EOPNOTSUPP;
- mutex_lock (&user->po->np->lock);
+ pthread_mutex_lock (&user->po->np->lock);
err = netfs_attempt_chflags (user->user, user->po->np, flags);
- mutex_unlock (&user->po->np->lock);
+ pthread_mutex_unlock (&user->po->np->lock);
return err;
}