From 332ca520aac051ce89322e064e5136ca6fda0e2a Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 29 Dec 2025 10:59:57 -0600 Subject: [PATCH] fuse_mknod.cpp --- src/fuse_mknod.cpp | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/src/fuse_mknod.cpp b/src/fuse_mknod.cpp index f30ede9e..3f8bc6af 100644 --- a/src/fuse_mknod.cpp +++ b/src/fuse_mknod.cpp @@ -30,41 +30,6 @@ #include #include - -static -inline -int -_mknod_core(const ugid_t ugid_, - const fs::path &fullpath_, - mode_t mode_, - const mode_t umask_, - const dev_t dev_) -{ - if(!fs::acl::dir_has_defaults(fullpath_)) - mode_ &= ~umask_; - - return fs::mknod_as(ugid_,fullpath_,mode_,dev_); -} - -static -int -_mknod_loop_core(const ugid_t ugid_, - const fs::path &createbranch_, - const fs::path &fusepath_, - const mode_t mode_, - const mode_t umask_, - const dev_t dev_) -{ - int rv; - fs::path fullpath; - - fullpath = createbranch_ / fusepath_; - - rv = ::_mknod_core(ugid_,fullpath,mode_,umask_,dev_); - - return rv; -} - int FUSE::mknod(const fuse_req_ctx_t *ctx_, const char *fusepath_,