Skip to content

Commit

Permalink
cgroup: Update file naming comment
Browse files Browse the repository at this point in the history
This changed long time ago in commit 8d7e6fb ("cgroup: update
cgroup name handling").

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
  • Loading branch information
Michal Koutný authored and Tejun Heo committed Mar 11, 2025
1 parent 78f6519 commit 76f9409
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/linux/cgroup-defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -619,9 +619,8 @@ struct cgroup_root {
*/
struct cftype {
/*
* By convention, the name should begin with the name of the
* subsystem, followed by a period. Zero length string indicates
* end of cftype array.
* Name of the subsystem is prepended in cgroup_file_name().
* Zero length string indicates end of cftype array.
*/
char name[MAX_CFTYPE_NAME];
unsigned long private;
Expand Down

0 comments on commit 76f9409

Please sign in to comment.