diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-10-28 19:25:38 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2020-10-29 10:59:23 +0000 |
commit | e032ca7a88afe1a7cd028ca63e2993af9c0b91af (patch) | |
tree | 0875b3c22c1147aa8e6c1e2e69fc497aecb9b453 /lib/fuse.c | |
parent | 4ebb018e78b53a8afe0368e7cd7a17a67c52e3df (diff) | |
download | libfuse-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.c')
-rwxr-xr-x | lib/fuse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3390,7 +3390,7 @@ static void fuse_lib_opendir(fuse_req_t req, fuse_ino_t ino, dh->len = 0; dh->filled = 0; dh->nodeid = ino; - fuse_mutex_init(&dh->lock); + pthread_mutex_init(&dh->lock, NULL); llfi->fh = (uintptr_t) dh; @@ -4973,7 +4973,7 @@ struct fuse *fuse_new_31(struct fuse_args *args, if (node_table_init(&f->id_table) == -1) goto out_free_name_table; - fuse_mutex_init(&f->lock); + pthread_mutex_init(&f->lock, NULL); root = alloc_node(f); if (root == NULL) { |