aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_loop_mt.c
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <mszeredi@suse.cz>2012-01-02 18:15:05 +0100
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2012-01-02 18:15:05 +0100
commit6c4cc1e64d9fee2fc7e38c0afa36f82b25dca69c (patch)
tree0636bee8af1a425387407972fe1bd10c125d05a6 /lib/fuse_loop_mt.c
parent3c4f7e194e247a369b2e6748e5b8d5a5e212855c (diff)
Remove unnecessary mutex unlock at the end of multithreaded event loop
Diffstat (limited to 'lib/fuse_loop_mt.c')
-rw-r--r--lib/fuse_loop_mt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/fuse_loop_mt.c b/lib/fuse_loop_mt.c
index b5ad1c7..7ae5890 100644
--- a/lib/fuse_loop_mt.c
+++ b/lib/fuse_loop_mt.c
@@ -244,7 +244,6 @@ int fuse_session_loop_mt(struct fuse_session *se)
for (w = mt.main.next; w != &mt.main; w = w->next)
pthread_cancel(w->thread_id);
mt.exit = 1;
- pthread_mutex_unlock(&mt.lock);
while (mt.main.next != &mt.main)
fuse_join_worker(&mt, mt.main.next);