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
bfc2400746
commit
23a16ee709
1 changed files with 4 additions and 3 deletions
|
|
@ -232,9 +232,10 @@ namespace l
|
|||
}
|
||||
|
||||
constexpr
|
||||
const
|
||||
uint64_t
|
||||
combine(PassthroughEnum e,
|
||||
uint64_t m)
|
||||
_(const PassthroughEnum e,
|
||||
const uint64_t m)
|
||||
{
|
||||
return ((((uint64_t)e) << 32) | (m & O_ACCMODE));
|
||||
}
|
||||
|
|
@ -281,7 +282,7 @@ namespace FUSE
|
|||
if(rv != 0)
|
||||
return rv;
|
||||
|
||||
uint64_t x = combine(cfg->passthrough,ffi_->flags);
|
||||
uint64_t x = _(cfg->passthrough,ffi_->flags);
|
||||
switch(x)
|
||||
{
|
||||
case _(PassthroughEnum::ro,O_RDONLY):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue