From: Sarath Lakshman Date: Sat, 11 Mar 2023 11:28:31 +0000 (+0530) Subject: [PATCH] Fix max_threads command line parameter propagation X-Git-Tag: archive/raspbian/3.17.2-2+rpi1^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b38e51e5468963734136ff2e52f84f0339769078;p=fuse3.git [PATCH] Fix max_threads command line parameter propagation The fuse_main_real() method doesn't apply the max_threads parameter parsed through the commandline arguments. This commit fixes the wiring of max_threads argument. Gbp-Pq: Name Fix-max_threads-command-line-parameter-propagation.patch --- diff --git a/lib/helper.c b/lib/helper.c index b270b85..f079ae2 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -377,6 +377,7 @@ int fuse_main_real(int argc, char *argv[], const struct fuse_operations *op, fuse_loop_cfg_set_clone_fd(loop_config, opts.clone_fd); fuse_loop_cfg_set_idle_threads(loop_config, opts.max_idle_threads); + fuse_loop_cfg_set_max_threads(loop_config, opts.max_threads); res = fuse_loop_mt(fuse, loop_config); } if (res)