cgroup: helper do determine group name
With more than one user, it is useful to have a helper function in the
cgroup core to derive a group's name.
We'll just return a pointer, and it is not expected to get incredibly
complicated. But it is useful to have it so we can abstract away the
vfs relation from its users.
Signed-off-by: Glauber Costa <email@example.com>
CC: Tejun Heo <firstname.lastname@example.org>
CC: Michal Hocko <email@example.com>
CC: Kamezawa Hiroyuki <firstname.lastname@example.org>
CC: Johannes Weiner <email@example.com>
3 files changed