diff options
author | Bernd Schubert <bschubert@ddn.com> | 2025-08-18 23:32:22 +0200 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-08-22 16:57:26 +0200 |
commit | 210d92f66b128b229c5803d6f430f346d690feb0 (patch) | |
tree | 9e0f6aef763a7bb502f58712e9e8a6b0551fa045 /lib | |
parent | bd8d8cdda9a5f520b7decfe98fafe540992ecb87 (diff) | |
download | libfuse-210d92f66b128b229c5803d6f430f346d690feb0.tar.gz |
fuse-io-uring: Fix double count of ring_pool->failed_threads
This is already done a few lines below. And actually no reason
to hold the lock at all given the variables are atomics now.
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_uring.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/fuse_uring.c b/lib/fuse_uring.c index a835ea1..53ef8db 100644 --- a/lib/fuse_uring.c +++ b/lib/fuse_uring.c @@ -705,9 +705,6 @@ static void *fuse_uring_thread(void *arg) fuse_uring_set_thread_core(queue->qid); err = fuse_uring_init_queue(queue); - - if (err < 0) - ring_pool->failed_threads++; pthread_mutex_lock(&ring_pool->thread_start_mutex); if (err < 0) ring_pool->failed_threads++; |