diff options
author | SteveYang <40466358+SteveY4ng@users.noreply.github.com> | 2023-10-12 17:18:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 10:18:28 +0100 |
commit | 05b696edb347dc555f937c1439ffda6a1c40416e (patch) | |
tree | 1105be1ac0a0657d203fe5f6e69118d70f17e621 /example/passthrough_hp.cc | |
parent | 063ef8e03ff669579d3a441bece702283b7654e3 (diff) | |
download | libfuse-05b696edb347dc555f937c1439ffda6a1c40416e.tar.gz |
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.
Diffstat (limited to 'example/passthrough_hp.cc')
-rw-r--r-- | example/passthrough_hp.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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; |