summaryrefslogtreecommitdiff
path: root/libnetfs/file-syncfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-syncfs.c')
-rw-r--r--libnetfs/file-syncfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-syncfs.c b/libnetfs/file-syncfs.c
index 28e34a3a..2302e926 100644
--- a/libnetfs/file-syncfs.c
+++ b/libnetfs/file-syncfs.c
@@ -33,8 +33,8 @@ netfs_S_file_syncfs (struct protid *user,
/* Translators not yet supported by netfs. XXX */
- mutex_lock (&user->po->np->lock);
+ pthread_mutex_lock (&user->po->np->lock);
err = netfs_attempt_syncfs (user->user, wait);
- mutex_unlock (&user->po->np->lock);
+ pthread_mutex_unlock (&user->po->np->lock);
return err;
}