mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
Rework how fuse request context is handled (#1543)
This commit is contained in:
parent
d18c273293
commit
0371f03def
117 changed files with 1894 additions and 2438 deletions
|
|
@ -92,11 +92,11 @@ _rmdir(const Policy::Action &actionFunc_,
|
|||
}
|
||||
|
||||
int
|
||||
FUSE::rmdir(const char *fusepath_)
|
||||
FUSE::rmdir(const fuse_req_ctx_t *ctx_,
|
||||
const char *fusepath_)
|
||||
{
|
||||
const fs::path fusepath{fusepath_};
|
||||
const fuse_context *fc = fuse_get_context();
|
||||
const ugid::Set ugid(fc->uid,fc->gid);
|
||||
const fs::path fusepath{fusepath_};
|
||||
const ugid::Set ugid(ctx_);
|
||||
|
||||
return ::_rmdir(cfg.func.rmdir.policy,
|
||||
cfg.branches,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue