|
@ -305,23 +305,6 @@ namespace FUSE |
|
|
cfg->link_cow, |
|
|
cfg->link_cow, |
|
|
cfg->nfsopenhack); |
|
|
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; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|