From 23a16ee7090b5d6eb95e36799c11424851963006 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 8 Apr 2024 22:52:17 -0500 Subject: [PATCH] fuse_create.cpp --- src/fuse_create.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/fuse_create.cpp b/src/fuse_create.cpp index 7d2b6870..c1c618dc 100644 --- a/src/fuse_create.cpp +++ b/src/fuse_create.cpp @@ -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):