summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2024-05-25 12:45:02 +0300
committerTejun Heo <tj@kernel.org>2024-05-26 21:30:38 +0300
commit0ac380020cd469a7cd23f517ff2753d0f6ac48c9 (patch)
treefc1c2442f02b4b9862d709109fa779d3db159f43
parentd9fc6b422062a1f026a09f210e012a27f808fb11 (diff)
downloadlinux-0ac380020cd469a7cd23f517ff2753d0f6ac48c9.tar.xz
cgroup/cpuset: Update comment on callback_lock
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>
-rw-r--r--kernel/cgroup/cpuset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index a553e3d46498..f9d2a3487645 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -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.
*