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