cgroup_freezer: update comment for freezer_css_online()
The freezer->lock was replaced by freezer_mutex in commit e5ced8ebb1
("cgroup_freezer: replace freezer->lock with freezer_mutex"), so the
comment here is out-of-date, update it.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
@@ -106,8 +106,7 @@ freezer_css_alloc(struct cgroup_subsys_state *parent_css)
|
|||||||
* @css: css being created
|
* @css: css being created
|
||||||
*
|
*
|
||||||
* We're committing to creation of @css. Mark it online and inherit
|
* We're committing to creation of @css. Mark it online and inherit
|
||||||
* parent's freezing state while holding both parent's and our
|
* parent's freezing state while holding cpus read lock and freezer_mutex.
|
||||||
* freezer->lock.
|
|
||||||
*/
|
*/
|
||||||
static int freezer_css_online(struct cgroup_subsys_state *css)
|
static int freezer_css_online(struct cgroup_subsys_state *css)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user