diff options
Diffstat (limited to 'libnetfs/io-get-owner.c')
-rw-r--r-- | libnetfs/io-get-owner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/io-get-owner.c b/libnetfs/io-get-owner.c index c86207f7..9bbf41de 100644 --- a/libnetfs/io-get-owner.c +++ b/libnetfs/io-get-owner.c @@ -27,8 +27,8 @@ netfs_S_io_get_owner (struct protid *user, pid_t *owner) if (!user) return EOPNOTSUPP; - mutex_lock (&user->po->np->lock); + pthread_mutex_lock (&user->po->np->lock); *owner = user->po->np->owner; - mutex_unlock (&user->po->np->lock); + pthread_mutex_unlock (&user->po->np->lock); return 0; } |