summaryrefslogtreecommitdiff
path: root/libnetfs/file-get-fs-options.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-get-fs-options.c')
-rw-r--r--libnetfs/file-get-fs-options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/file-get-fs-options.c b/libnetfs/file-get-fs-options.c
index 1a18c72d..a8029916 100644
--- a/libnetfs/file-get-fs-options.c
+++ b/libnetfs/file-get-fs-options.c
@@ -44,11 +44,11 @@ netfs_S_file_get_fs_options (struct protid *user,
if (! err)
{
#if NOT_YET
- rwlock_reader_lock (&netfs_fsys_lock);
+ pthread_rwlock_rdlock (&netfs_fsys_lock);
#endif
err = netfs_append_args (&argz, &argz_len);
#if NOT_YET
- rwlock_reader_unlock (&netfs_fsys_lock);
+ pthread_rwlock_unlock (&netfs_fsys_lock);
#endif
}