mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fuse_create.cpp
This commit is contained in:
parent
e06c671de8
commit
bb6a0e30d1
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue