From d2d80c78a9939a681339369ff7a2c8809ef8d0d6 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 8 Apr 2024 18:57:06 -0500 Subject: [PATCH] fuse_create.cpp --- src/fuse_create.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/fuse_create.cpp b/src/fuse_create.cpp index 2fac219f..024f0437 100644 --- a/src/fuse_create.cpp +++ b/src/fuse_create.cpp @@ -65,6 +65,13 @@ namespace l return ((flags_ & O_ACCMODE) == O_WRONLY); } + static + bool + rdwr(const int flags_) + { + return ((flags_ & O_ACCMODE) == O_RDWR); + } + static bool calculate_flush(FlushOnClose const flushonclose_,