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
|
|
@ -93,10 +93,9 @@ int
|
|||
_release(const fuse_context *fc_,
|
||||
const fuse_file_info_t *ffi_)
|
||||
{
|
||||
Config::Read cfg;
|
||||
FileInfo *fi = reinterpret_cast<FileInfo*>(ffi_->fh);
|
||||
|
||||
return ::_release(fc_,fi,cfg->dropcacheonclose);
|
||||
return ::_release(fc_,fi,cfg.dropcacheonclose);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue