Browse Source

fuse_create.cpp

passthrough
Antonio SJ Musumeci 10 months ago
parent
commit
f4a22895b6
  1. 4
      src/fuse_create.cpp

4
src/fuse_create.cpp

@ -298,12 +298,12 @@ namespace FUSE
uint64_t x = combine(cfg->passthrough,ffi_->flags); uint64_t x = combine(cfg->passthrough,ffi_->flags);
switch(x) switch(x)
{ {
default:
return rv;
case combine(PassthroughEnum::ro,O_RDONLY): case combine(PassthroughEnum::ro,O_RDONLY):
case combine(PassthroughEnum::wo,O_WRONLY): case combine(PassthroughEnum::wo,O_WRONLY):
case combine(PassthroughEnum::rw,O_RDWR): case combine(PassthroughEnum::rw,O_RDWR):
return l::passthrough(fc,ffi_); return l::passthrough(fc,ffi_);
} }
return rv;
} }
} }
Loading…
Cancel
Save