summaryrefslogtreecommitdiff
path: root/libdiskfs/io-identity.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/io-identity.c')
-rw-r--r--libdiskfs/io-identity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/io-identity.c b/libdiskfs/io-identity.c
index 6f4e7546..0f3fce0f 100644
--- a/libdiskfs/io-identity.c
+++ b/libdiskfs/io-identity.c
@@ -38,9 +38,9 @@ diskfs_S_io_identity (struct protid *cred,
return EOPNOTSUPP;
np = cred->po->np;
- mutex_lock (&np->lock);
+ pthread_mutex_lock (&np->lock);
inum = np->dn_stat.st_ino;
- mutex_unlock (&np->lock);
+ pthread_mutex_unlock (&np->lock);
err = fshelp_get_identity (diskfs_port_bucket, inum, id);
if (! err)