From 8c6e5e647ae81908b83ebe03781b23565178e965 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 15 Dec 2025 13:09:48 -0600 Subject: [PATCH] fuse_opendir.cpp --- src/fuse_opendir.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/fuse_opendir.cpp b/src/fuse_opendir.cpp index 76109d14..c23ec4c3 100644 --- a/src/fuse_opendir.cpp +++ b/src/fuse_opendir.cpp @@ -27,19 +27,5 @@ FUSE::opendir(const fuse_req_ctx_t *ctx_, const char *fusepath_, fuse_file_info_t *ffi_) { - DirInfo *di; - - di = new DirInfo(fusepath_); - - ffi_->fh = di->to_fh(); - - ffi_->noflush = true; - - if(cfg.cache_readdir) - { - ffi_->keep_cache = true; - ffi_->cache_readdir = true; - } - - return 0; + return cfg.readdir.opendir(ctx_,fusepath_,ffi_); }