From ab193701de1121d7404c356b62a21623fe02d6e7 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 8 Apr 2024 19:12:06 -0500 Subject: [PATCH] fuse_create.cpp --- src/fuse_create.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/fuse_create.cpp b/src/fuse_create.cpp index d93a0132..097003f2 100644 --- a/src/fuse_create.cpp +++ b/src/fuse_create.cpp @@ -245,6 +245,14 @@ namespace l } } +constexpr +uint64_t +combine(PassthroughEnum e, + uint64_t m) +{ + return ((((uint64_t)e) << 32) | (m & O_ACCMODE)); +} + namespace FUSE { int