aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/io-owner-get.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/io-owner-get.c')
-rw-r--r--libdiskfs/io-owner-get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/io-owner-get.c b/libdiskfs/io-owner-get.c
index 057aa6e2..2f3e7e33 100644
--- a/libdiskfs/io-owner-get.c
+++ b/libdiskfs/io-owner-get.c
@@ -29,8 +29,8 @@ diskfs_S_io_get_owner (struct protid *cred,
return EOPNOTSUPP;
np = cred->po->np;
- mutex_lock (&np->lock);
+ pthread_mutex_lock (&np->lock);
*owner = np->owner;
- mutex_unlock (&np->lock);
+ pthread_mutex_unlock (&np->lock);
return 0;
}