1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 02:21:44 +03:00

cgroup: add explanatory comment

This commit is contained in:
Lennart Poettering 2018-11-21 18:27:15 +01:00
parent 442ce7759c
commit 26a17ca280

View File

@ -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;