diff options
author | Waiman Long <longman@redhat.com> | 2023-10-12 20:09:02 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2023-10-12 20:22:56 +0300 |
commit | 13cc9ee8f8ed58e563294d87d74a62006be40f21 (patch) | |
tree | 6f03e6172208de360c58d9eedbd92e1d760e9dcb /include/linux | |
parent | 1ca0b605150501b7dc59f3016271da4eb3e96fce (diff) | |
download | linux-13cc9ee8f8ed58e563294d87d74a62006be40f21.tar.xz |
cgroup: Fix incorrect css_set_rwsem reference in comment
Since commit f0d9a5f17575 ("cgroup: make css_set_rwsem a spinlock
and rename it to css_set_lock"), css_set_rwsem has been replaced by
css_set_lock. That commit, however, missed the css_set_rwsem reference
in include/linux/cgroup-defs.h. Fix that by changing it to css_set_lock
as well.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/cgroup-defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index f1b3151ac30b..265da00a1a8b 100644 --- a/include/linux/cgroup-defs.h +++ b/include/linux/cgroup-defs.h @@ -238,7 +238,7 @@ struct css_set { * Lists running through all tasks using this cgroup group. * mg_tasks lists tasks which belong to this cset but are in the * process of being migrated out or in. Protected by - * css_set_rwsem, but, during migration, once tasks are moved to + * css_set_lock, but, during migration, once tasks are moved to * mg_tasks, it can be read safely while holding cgroup_mutex. */ struct list_head tasks; |