fuse_create.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-04-08 22:52:17 -05:00
parent bfc2400746
commit 23a16ee709

View file

@ -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):