Skip to content

Commit a6b8dab

Browse files
Xiu Jianfenghtejun
authored andcommitted
cgroup_freezer: update comment for freezer_css_online()
The freezer->lock was replaced by freezer_mutex in commit e5ced8e ("cgroup_freezer: replace freezer->lock with freezer_mutex"), so the comment here is out-of-date, update it. Signed-off-by: Xiu Jianfeng <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 97a46a6 commit a6b8dab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernel/cgroup/legacy_freezer.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ freezer_css_alloc(struct cgroup_subsys_state *parent_css)
106106
* @css: css being created
107107
*
108108
* We're committing to creation of @css. Mark it online and inherit
109-
* parent's freezing state while holding both parent's and our
110-
* freezer->lock.
109+
* parent's freezing state while holding cpus read lock and freezer_mutex.
111110
*/
112111
static int freezer_css_online(struct cgroup_subsys_state *css)
113112
{

0 commit comments

Comments
 (0)