From: Xiu Jianfeng Date: Sat, 25 May 2024 09:45:02 +0000 (+0000) Subject: cgroup/cpuset: Update comment on callback_lock X-Git-Tag: v6.11-rc1~221^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ac380020cd469a7cd23f517ff2753d0f6ac48c9;p=thirdparty%2Flinux.git 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 Signed-off-by: Tejun Heo --- diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index a553e3d46498d..f9d2a3487645c 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. *