diff options
Diffstat (limited to 'libnetfs/io-set-some-openmodes.c')
-rw-r--r-- | libnetfs/io-set-some-openmodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/io-set-some-openmodes.c b/libnetfs/io-set-some-openmodes.c index 97bd2b43..48fbeed6 100644 --- a/libnetfs/io-set-some-openmodes.c +++ b/libnetfs/io-set-some-openmodes.c @@ -28,8 +28,8 @@ netfs_S_io_set_some_openmodes (struct protid *user, int bits) if (!user) return EOPNOTSUPP; - mutex_lock (&user->po->np->lock); + pthread_mutex_lock (&user->po->np->lock); user->po->openstat |= (bits & HONORED_STATE_MODES); - mutex_unlock (&user->po->np->lock); + pthread_mutex_unlock (&user->po->np->lock); return 0; } |