mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fuse_readdir_seq.cpp
This commit is contained in:
parent
3745f6118d
commit
3394e7ec8b
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue