summaryrefslogtreecommitdiff
path: root/libnetfs/io-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/io-stat.c')
-rw-r--r--libnetfs/io-stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/io-stat.c b/libnetfs/io-stat.c
index 3826c9d9..cf2c25b3 100644
--- a/libnetfs/io-stat.c
+++ b/libnetfs/io-stat.c
@@ -32,7 +32,7 @@ netfs_S_io_stat (struct protid *user, io_statbuf_t *statbuf)
return EOPNOTSUPP;
node = user->po->np;
- mutex_lock (&node->lock);
+ pthread_mutex_lock (&node->lock);
err = netfs_validate_stat (node, user->user);
if (! err)
@@ -47,7 +47,7 @@ netfs_S_io_stat (struct protid *user, io_statbuf_t *statbuf)
statbuf->st_mode |= S_IROOT; /* Is a root node. */
}
- mutex_unlock (&node->lock);
+ pthread_mutex_unlock (&node->lock);
return err;
}