fuse_readdir_seq.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-12-15 12:57:15 -06:00
parent 3745f6118d
commit 3394e7ec8b

View file

@ -37,7 +37,15 @@ FUSE::ReadDirSeq::opendir(const fuse_req_ctx_t *ctx_,
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;
}