mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-06-07 19:34:36 +08:00
config get and struct naming cleanup
This commit is contained in:
@ -74,8 +74,8 @@ namespace mergerfs
|
||||
access(const char *fusepath,
|
||||
int mask)
|
||||
{
|
||||
const struct fuse_context *fc = fuse_get_context();
|
||||
const config::Config &config = config::get();
|
||||
const fuse_context *fc = fuse_get_context();
|
||||
const Config &config = Config::get(fc);
|
||||
const ugid::SetResetGuard ugid(fc->uid,fc->gid);
|
||||
const rwlock::ReadGuard readlock(&config.srcmountslock);
|
||||
|
||||
|
Reference in New Issue
Block a user