]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
cgroup/cpuset: Update comment on callback_lock
authorXiu Jianfeng <xiujianfeng@huawei.com>
Sat, 25 May 2024 09:45:02 +0000 (09:45 +0000)
committerTejun Heo <tj@kernel.org>
Sun, 26 May 2024 18:30:38 +0000 (08:30 -1000)
Since commit 51ffe41178c4 ("cpuset: convert away from cftype->read()"),
cpuset_common_file_read() has been renamed.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c

index a553e3d46498d34c8c473d8ded3c449f01581c04..f9d2a3487645caef69c09c027228317b8a494f5c 100644 (file)
@@ -434,7 +434,7 @@ static struct cpuset top_cpuset = {
  * by other task, we use alloc_lock in the task_struct fields to protect
  * them.
  *
- * The cpuset_common_file_read() handlers only hold callback_lock across
+ * The cpuset_common_seq_show() handlers only hold callback_lock across
  * small pieces of code, such as when reading out possibly multi-word
  * cpumasks and nodemasks.
  *