aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_lowlevel.c
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-10-28 19:25:38 -0700
committerNikolaus Rath <Nikolaus@rath.org>2020-10-29 10:59:23 +0000
commite032ca7a88afe1a7cd028ca63e2993af9c0b91af (patch)
tree0875b3c22c1147aa8e6c1e2e69fc497aecb9b453 /lib/fuse_lowlevel.c
parent4ebb018e78b53a8afe0368e7cd7a17a67c52e3df (diff)
downloadlibfuse-e032ca7a88afe1a7cd028ca63e2993af9c0b91af.tar.gz
remove fuse_mutex_init
This seems to have been added before 2006 to fix a uclibc bug. It doesn't seem to be the case anymore so just get rid of it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'lib/fuse_lowlevel.c')
-rw-r--r--lib/fuse_lowlevel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 83510b3..d227688 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -155,7 +155,7 @@ static struct fuse_req *fuse_ll_alloc_req(struct fuse_session *se)
req->se = se;
req->ctr = 1;
list_init_req(req);
- fuse_mutex_init(&req->lock);
+ pthread_mutex_init(&req->lock, NULL);
}
return req;
@@ -2958,7 +2958,7 @@ struct fuse_session *fuse_session_new(struct fuse_args *args,
list_init_req(&se->interrupts);
list_init_nreq(&se->notify_list);
se->notify_ctr = 1;
- fuse_mutex_init(&se->lock);
+ pthread_mutex_init(&se->lock, NULL);
err = pthread_key_create(&se->pipe_key, fuse_ll_pipe_destructor);
if (err) {