summaryrefslogtreecommitdiff
path: root/libdiskfs/io-revoke.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/io-revoke.c')
-rw-r--r--libdiskfs/io-revoke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/io-revoke.c b/libdiskfs/io-revoke.c
index d42fb6c1..a07777e2 100644
--- a/libdiskfs/io-revoke.c
+++ b/libdiskfs/io-revoke.c
@@ -42,11 +42,11 @@ diskfs_S_io_revoke (struct protid *cred)
np = cred->po->np;
- mutex_lock (&np->lock);
+ pthread_mutex_lock (&np->lock);
err = fshelp_isowner (&np->dn_stat, cred->user);
- mutex_unlock (&np->lock);
+ pthread_mutex_unlock (&np->lock);
if (err)
return err;