]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
cgroup: Update file naming comment
authorMichal Koutný <mkoutny@suse.com>
Tue, 11 Mar 2025 12:36:27 +0000 (13:36 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 11 Mar 2025 19:22:55 +0000 (09:22 -1000)
This changed long time ago in commit 8d7e6fb0a1db9 ("cgroup: update
cgroup name handling").

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/cgroup-defs.h

index 1b20d2d8ef7ccec2d3bd5463ececf8c4c44cf646..d8d6fe24f375c26b49a33101ea0ffaefebf593a0 100644 (file)
@@ -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;