Commit d95af61d authored by Lu Jialin's avatar Lu Jialin Committed by Tejun Heo

cgroup/cpuset: fix typos in comments

Change hierachy to hierarchy and unrechable to unreachable,
no functionality changed.
Signed-off-by: default avatarLu Jialin <lujialin4@huawei.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent dd3f4e49
...@@ -585,7 +585,7 @@ static int validate_change(struct cpuset *cur, struct cpuset *trial) ...@@ -585,7 +585,7 @@ static int validate_change(struct cpuset *cur, struct cpuset *trial)
par = parent_cs(cur); par = parent_cs(cur);
/* On legacy hiearchy, we must be a subset of our parent cpuset. */ /* On legacy hierarchy, we must be a subset of our parent cpuset. */
ret = -EACCES; ret = -EACCES;
if (!is_in_v2_mode() && !is_cpuset_subset(trial, par)) if (!is_in_v2_mode() && !is_cpuset_subset(trial, par))
goto out; goto out;
...@@ -1726,7 +1726,7 @@ static void update_tasks_nodemask(struct cpuset *cs) ...@@ -1726,7 +1726,7 @@ static void update_tasks_nodemask(struct cpuset *cs)
* When configured nodemask is changed, the effective nodemasks of this cpuset * When configured nodemask is changed, the effective nodemasks of this cpuset
* and all its descendants need to be updated. * and all its descendants need to be updated.
* *
* On legacy hiearchy, effective_mems will be the same with mems_allowed. * On legacy hierarchy, effective_mems will be the same with mems_allowed.
* *
* Called with cpuset_mutex held * Called with cpuset_mutex held
*/ */
...@@ -2500,7 +2500,7 @@ static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) ...@@ -2500,7 +2500,7 @@ static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft)
BUG(); BUG();
} }
/* Unrechable but makes gcc happy */ /* Unreachable but makes gcc happy */
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment