cgroup: remove obsolete guarantee from cgroup_task_migrate.
'guarantee' is already removed from cgroup_task_migrate, so remove the corresponding comments. Some other typos in cgroup are also changed. Cc: Tejun Heo <tj@kernel.org> Cc: Li Zefan <lizefan@huawei.com> Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
0a950f65e1
commit
d0b2fdd2a5
2 changed files with 5 additions and 7 deletions
|
|
@ -66,7 +66,7 @@ struct cgroup_subsys_state {
|
|||
/*
|
||||
* State maintained by the cgroup system to allow subsystems
|
||||
* to be "busy". Should be accessed via css_get(),
|
||||
* css_tryget() and and css_put().
|
||||
* css_tryget() and css_put().
|
||||
*/
|
||||
|
||||
atomic_t refcnt;
|
||||
|
|
@ -276,7 +276,7 @@ struct cgroup_map_cb {
|
|||
|
||||
/* cftype->flags */
|
||||
#define CFTYPE_ONLY_ON_ROOT (1U << 0) /* only create on root cg */
|
||||
#define CFTYPE_NOT_ON_ROOT (1U << 1) /* don't create onp root cg */
|
||||
#define CFTYPE_NOT_ON_ROOT (1U << 1) /* don't create on root cg */
|
||||
|
||||
#define MAX_CFTYPE_NAME 64
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue