diff options
Diffstat (limited to 'libnetfs/io-clear-some-openmodes.c')
-rw-r--r-- | libnetfs/io-clear-some-openmodes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/io-clear-some-openmodes.c b/libnetfs/io-clear-some-openmodes.c index 27bbfac8..1da5e476 100644 --- a/libnetfs/io-clear-some-openmodes.c +++ b/libnetfs/io-clear-some-openmodes.c @@ -28,8 +28,8 @@ netfs_S_io_clear_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; } |