mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-14 09:55:12 +08:00
func_create_ff.cpp
This commit is contained in:
parent
e708b8db26
commit
bbf4b6e52a
@ -77,9 +77,12 @@ Func::CreateFF::operator()(Branches2 &branches_,
|
||||
fuse_file_info_t *ffi_)
|
||||
{
|
||||
int rv;
|
||||
Config::Read cfg;
|
||||
fuse_context const *fc = fuse_get_context();
|
||||
ugid::Set const ugid(fc->uid,fc->gid);
|
||||
|
||||
utils::cfg_to_ffi_flags(cfg,fc->pid,ffi_);
|
||||
|
||||
rv = l::create(branches_,fusepath_,mode_,fc->umask,ffi_);
|
||||
|
||||
return rv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user