Browse Source

fuse_create.cpp

passthrough2
Antonio SJ Musumeci 9 months ago
parent
commit
d98c9a77e9
  1. 15
      src/fuse_create.cpp

15
src/fuse_create.cpp

@ -282,19 +282,8 @@ namespace FUSE
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_);
}
if(cfg->passthrough)
return l::passthrough(fc,ffi_);
return rv;
}

Loading…
Cancel
Save