diff options
Diffstat (limited to 'libdiskfs/io-duplicate.c')
-rw-r--r-- | libdiskfs/io-duplicate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/io-duplicate.c b/libdiskfs/io-duplicate.c index 3cbf8f7b..45c4df5d 100644 --- a/libdiskfs/io-duplicate.c +++ b/libdiskfs/io-duplicate.c @@ -30,7 +30,7 @@ diskfs_S_io_duplicate (struct protid *cred, if (!cred) return EOPNOTSUPP; - mutex_lock (&cred->po->np->lock); + pthread_mutex_lock (&cred->po->np->lock); err = diskfs_create_protid (cred->po, cred->user, &newpi); if (! err) @@ -40,7 +40,7 @@ diskfs_S_io_duplicate (struct protid *cred, ports_port_deref (newpi); } - mutex_unlock (&cred->po->np->lock); + pthread_mutex_unlock (&cred->po->np->lock); return err; } |