diff options
Diffstat (limited to 'libdiskfs/io-owner-mod.c')
-rw-r--r-- | libdiskfs/io-owner-mod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/io-owner-mod.c b/libdiskfs/io-owner-mod.c index c0977785..938c3d0d 100644 --- a/libdiskfs/io-owner-mod.c +++ b/libdiskfs/io-owner-mod.c @@ -29,8 +29,8 @@ diskfs_S_io_mod_owner (struct protid *cred, return EOPNOTSUPP; np = cred->po->np; - mutex_lock (&np->lock); + pthread_mutex_lock (&np->lock); np->owner = owner; - mutex_unlock (&np->lock); + pthread_mutex_unlock (&np->lock); return 0; } |