summaryrefslogtreecommitdiff
path: root/libdiskfs/io-get-conch.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/io-get-conch.c')
-rw-r--r--libdiskfs/io-get-conch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/io-get-conch.c b/libdiskfs/io-get-conch.c
index 6be35f0b..fa63a398 100644
--- a/libdiskfs/io-get-conch.c
+++ b/libdiskfs/io-get-conch.c
@@ -29,16 +29,16 @@ diskfs_S_io_get_conch (struct protid *cred)
np = cred->po->np;
- mutex_lock (&np->lock);
+ pthread_mutex_lock (&np->lock);
if (!cred->mapped)
{
- mutex_unlock (&np->lock);
+ pthread_mutex_unlock (&np->lock);
return EINVAL;
}
iohelp_handle_io_get_conch (&np->conch, cred, cred->mapped);
- mutex_unlock (&np->lock);
+ pthread_mutex_unlock (&np->lock);
return 0;
}