mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
fuse_opendir.cpp
This commit is contained in:
parent
ede13a6235
commit
8c6e5e647a
1 changed files with 1 additions and 15 deletions
|
|
@ -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_);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue