diff options
Diffstat (limited to 'libtrivfs/io-reauthenticate.c')
-rw-r--r-- | libtrivfs/io-reauthenticate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtrivfs/io-reauthenticate.c b/libtrivfs/io-reauthenticate.c index 80ef31c1..6623d947 100644 --- a/libtrivfs/io-reauthenticate.c +++ b/libtrivfs/io-reauthenticate.c @@ -62,10 +62,10 @@ trivfs_S_io_reauthenticate (struct trivfs_protid *cred, newcred->hook = cred->hook; - mutex_lock (&cred->po->cntl->lock); + pthread_mutex_lock (&cred->po->cntl->lock); newcred->po = cred->po; newcred->po->refcnt++; - mutex_unlock (&cred->po->cntl->lock); + pthread_mutex_unlock (&cred->po->cntl->lock); do err = io_restrict_auth (newcred->po->cntl->underlying, &newcred->realnode, |