fuse_opendir.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-12-15 13:09:48 -06:00
parent ede13a6235
commit 8c6e5e647a

View file

@ -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_);
}