mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 10:51:20 +03:00
cgroup: add explanatory comment
This commit is contained in:
parent
442ce7759c
commit
26a17ca280
@ -1312,7 +1312,7 @@ CGroupMask unit_get_members_mask(Unit *u) {
|
||||
/* Returns the mask of controllers all of the unit's children require, merged */
|
||||
|
||||
if (u->cgroup_members_mask_valid)
|
||||
return u->cgroup_members_mask;
|
||||
return u->cgroup_members_mask; /* Use cached value if possible */
|
||||
|
||||
u->cgroup_members_mask = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user