From 1827c72cce1b13d448ce8291ccb54391a96a3259 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 12 Apr 2024 11:25:22 -0500 Subject: [PATCH] fuse_open.cpp --- src/fuse_open.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 909f7a87..3b9081f1 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -305,23 +305,6 @@ namespace FUSE cfg->link_cow, cfg->nfsopenhack); - if(rv != 0) - return rv; - - switch(_(cfg->passthrough,ffi_->flags)) - { - case _(PassthroughEnum::r, O_RDONLY): - case _(PassthroughEnum::r, O_RDWR): - case _(PassthroughEnum::w, O_WRONLY): - case _(PassthroughEnum::w, O_RDWR): - case _(PassthroughEnum::ro,O_RDONLY): - case _(PassthroughEnum::wo,O_WRONLY): - case _(PassthroughEnum::rw,O_RDONLY): - case _(PassthroughEnum::rw,O_WRONLY): - case _(PassthroughEnum::rw,O_RDWR): - return l::passthrough(fc,ffi_); - } - return 0; }