diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 14d4e4cf..ce014132 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -270,15 +270,6 @@ namespace l } } -constexpr -const -uint64_t -_(const PassthroughEnum e_, - const uint64_t m_) -{ - return ((((uint64_t)e_) << 32) | (m_ & O_ACCMODE)); -} - namespace FUSE { int @@ -339,7 +330,13 @@ namespace FUSE if(rv != 0) return rv; - return l::passthrough(fc,ffi_); + rv = l::passthrough(fc,ffi_); + if(rv != 0) + return 0; + + + + return rv; } int