diff options
Diffstat (limited to 'libnetfs/dir-mkdir.c')
-rw-r--r-- | libnetfs/dir-mkdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/dir-mkdir.c b/libnetfs/dir-mkdir.c index 33feb25f..c8bebac8 100644 --- a/libnetfs/dir-mkdir.c +++ b/libnetfs/dir-mkdir.c @@ -32,8 +32,8 @@ netfs_S_dir_mkdir (struct protid *user, char *name, mode_t mode) mode &= ~(S_IFMT|S_ISPARE|S_ISVTX); mode |= S_IFDIR; - mutex_lock (&user->po->np->lock); + pthread_mutex_lock (&user->po->np->lock); err = netfs_attempt_mkdir (user->user, user->po->np, name, mode); - mutex_unlock (&user->po->np->lock); + pthread_mutex_unlock (&user->po->np->lock); return err; } |