Browse Source

fuse_open.cpp

passthrough
Antonio SJ Musumeci 10 months ago
parent
commit
c7c3f398a7
  1. 8
      src/fuse_open.cpp

8
src/fuse_open.cpp

@ -299,12 +299,12 @@ namespace FUSE
if(rv != 0) if(rv != 0)
return rv; return rv;
uint64_t x = combine(cfg->passthrough,ffi_->flags);
uint64_t x = _(cfg->passthrough,ffi_->flags);
switch(x) switch(x)
{ {
case combine(PassthroughEnum::ro,O_RDONLY):
case combine(PassthroughEnum::wo,O_WRONLY):
case combine(PassthroughEnum::rw,O_RDWR):
case _(PassthroughEnum::ro,O_RDONLY):
case _(PassthroughEnum::wo,O_WRONLY):
case _(PassthroughEnum::rw,O_RDWR):
return l::passthrough(fc,ffi_); return l::passthrough(fc,ffi_);
} }

Loading…
Cancel
Save