From: SteveYang <40466358+SteveY4ng@users.noreply.github.com> Date: Thu, 12 Oct 2023 09:18:28 +0000 (+0800) Subject: passthrough_hp: Fix clone-fd option (#850) X-Git-Tag: fuse-3.17.1-rc0~168 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=05b696edb347dc555f937c1439ffda6a1c40416e;p=qemu-gpiodev%2Flibfuse.git passthrough_hp: Fix clone-fd option (#850) The clone-fd option is set valued but not used in the context. Use it in the code. --- diff --git a/example/passthrough_hp.cc b/example/passthrough_hp.cc index 1ee5352..96201d6 100644 --- a/example/passthrough_hp.cc +++ b/example/passthrough_hp.cc @@ -1361,6 +1361,8 @@ int main(int argc, char *argv[]) { if (fs.num_threads != -1) fuse_loop_cfg_set_idle_threads(loop_config, fs.num_threads); + fuse_loop_cfg_set_clone_fd(loop_config, fs.clone_fd); + if (fuse_session_mount(se, argv[2]) != 0) goto err_out3;