mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-22 07:56:32 -05:00
Add ability to invalidate gid cache on demand
SIGUSR2 or ioctl
This commit is contained in:
parent
8b769dff7f
commit
0aafdefc18
8 changed files with 109 additions and 45 deletions
|
|
@ -28,7 +28,7 @@ namespace ugid
|
|||
initgroups(const uid_t uid_,
|
||||
const gid_t gid_)
|
||||
{
|
||||
static thread_local gid_t_cache cache = {0};
|
||||
static thread_local GIDCache cache;
|
||||
|
||||
cache.initgroups(uid_,gid_);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue