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