Skip to content

Commit 13cc9ee

Browse files
Waiman-Longhtejun
authored andcommitted
cgroup: Fix incorrect css_set_rwsem reference in comment
Since commit f0d9a5f ("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>
1 parent 1ca0b60 commit 13cc9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/cgroup-defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ struct css_set {
238238
* Lists running through all tasks using this cgroup group.
239239
* mg_tasks lists tasks which belong to this cset but are in the
240240
* process of being migrated out or in. Protected by
241-
* css_set_rwsem, but, during migration, once tasks are moved to
241+
* css_set_lock, but, during migration, once tasks are moved to
242242
* mg_tasks, it can be read safely while holding cgroup_mutex.
243243
*/
244244
struct list_head tasks;

0 commit comments

Comments
 (0)