Browse Source

fuse_create.cpp

passthrough
Antonio SJ Musumeci 7 months ago
parent
commit
bb6a0e30d1
  1. 8
      src/fuse_create.cpp

8
src/fuse_create.cpp

@ -58,6 +58,13 @@ namespace l
return ((flags_ & O_ACCMODE) == O_RDONLY);
}
static
bool
wronly(const int flags_)
{
return ((flags_ & O_ACCMODE) == O_WRONLY);
}
static
bool
calculate_flush(FlushOnClose const flushonclose_,
@ -278,6 +285,7 @@ namespace FUSE
case PassthroughEnum::off:
return rv;
case PassthroughEnum::ro:
if(ffi_->flags & O_
case PassthroughEnum::wo:
case PassthroughEnum::rw:
return l::passthrough(fc,ffi_);

Loading…
Cancel
Save