summaryrefslogtreecommitdiff
path: root/libnetfs/dir-rmdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/dir-rmdir.c')
-rw-r--r--libnetfs/dir-rmdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/dir-rmdir.c b/libnetfs/dir-rmdir.c
index 9a5941d3..96196fd4 100644
--- a/libnetfs/dir-rmdir.c
+++ b/libnetfs/dir-rmdir.c
@@ -29,8 +29,8 @@ netfs_S_dir_rmdir (struct protid *diruser, char *name)
if (!diruser)
return EOPNOTSUPP;
- mutex_lock (&diruser->po->np->lock);
+ pthread_mutex_lock (&diruser->po->np->lock);
err = netfs_attempt_rmdir (diruser->user, diruser->po->np, name);
- mutex_unlock (&diruser->po->np->lock);
+ pthread_mutex_unlock (&diruser->po->np->lock);
return err;
}