mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Revert removal of readdir init setup, simplify cfg usage (#1520)
This commit is contained in:
parent
99c28ad3bc
commit
f64ff9ca1e
42 changed files with 388 additions and 426 deletions
|
|
@ -206,12 +206,11 @@ int
|
|||
FUSE::ReadDirCOR::operator()(const fuse_file_info_t *ffi_,
|
||||
fuse_dirents_t *buf_)
|
||||
{
|
||||
Config::Read cfg;
|
||||
DirInfo *di = reinterpret_cast<DirInfo*>(ffi_->fh);
|
||||
const fuse_context *fc = fuse_get_context();
|
||||
|
||||
return l::concurrent_readdir(_tp,
|
||||
cfg->branches,
|
||||
cfg.branches,
|
||||
di->fusepath,
|
||||
buf_,
|
||||
fc->uid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue