From d8d7a2efc1dc3e95730518bea275c6aec69c7b6e Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 10 Apr 2024 18:37:06 -0500 Subject: [PATCH] fuse_open.cpp --- src/fuse_open.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 742e0bfd..0bfae741 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -310,7 +310,9 @@ namespace FUSE case _(PassthroughEnum::rw,O_RDONLY): case _(PassthroughEnum::rw,O_WRONLY): case _(PassthroughEnum::rw,O_RDWR): - return l::passthrough(fc,ffi_); + rv = l::passthrough(fc,ffi_); + cfg->passthrough = PassthroughEnum::off; + break; } return rv;