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
|
|
@ -148,13 +148,12 @@ int
|
|||
FUSE::statfs(const char *fusepath_,
|
||||
struct statvfs *st_)
|
||||
{
|
||||
Config::Read cfg;
|
||||
const fuse_context *fc = fuse_get_context();
|
||||
const ugid::Set ugid(fc->uid,fc->gid);
|
||||
|
||||
return ::_statfs(cfg->branches,
|
||||
return ::_statfs(cfg.branches,
|
||||
fusepath_,
|
||||
cfg->statfs,
|
||||
cfg->statfs_ignore,
|
||||
cfg.statfs,
|
||||
cfg.statfs_ignore,
|
||||
st_);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue