diff options
Diffstat (limited to 'libnetfs/file-exec.c')
-rw-r--r-- | libnetfs/file-exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-exec.c b/libnetfs/file-exec.c index 73c125ba..638f0ae8 100644 --- a/libnetfs/file-exec.c +++ b/libnetfs/file-exec.c @@ -70,12 +70,12 @@ netfs_S_file_exec (struct protid *cred, np = cred->po->np; - mutex_lock (&np->lock); + pthread_mutex_lock (&np->lock); mode = np->nn_stat.st_mode; uid = np->nn_stat.st_uid; gid = np->nn_stat.st_gid; err = netfs_validate_stat (np, cred->user); - mutex_unlock (&np->lock); + pthread_mutex_unlock (&np->lock); if (err) return err; |