mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-04-21 12:31:43 +00:00
config get and struct naming cleanup
This commit is contained in:
+5
-5
@@ -89,12 +89,12 @@ namespace mergerfs
|
||||
namespace fuse
|
||||
{
|
||||
int
|
||||
create(const char *fusepath,
|
||||
mode_t mode,
|
||||
struct fuse_file_info *fileinfo)
|
||||
create(const char *fusepath,
|
||||
mode_t mode,
|
||||
fuse_file_info *fileinfo)
|
||||
{
|
||||
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