summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup/cgroup-v1.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-05-24 16:29:43 +0800
committerTejun Heo <tj@kernel.org>2021-05-24 12:45:26 -0400
commit08b2b6fdf6b26032f025084ce2893924a0cdb4a2 (patch)
tree137a831474ee61a4b50dc990b9a34bd652bc97bf /kernel/cgroup/cgroup-v1.c
parent45e1ba40837ac2f6f4d4716bddb8d44bd7e4a251 (diff)
downloadlinux-08b2b6fdf6b26032f025084ce2893924a0cdb4a2.tar.gz
linux-08b2b6fdf6b26032f025084ce2893924a0cdb4a2.tar.bz2
linux-08b2b6fdf6b26032f025084ce2893924a0cdb4a2.zip
cgroup: fix spelling mistakes
Fix some spelling mistakes in comments: hierarhcy ==> hierarchy automtically ==> automatically overriden ==> overridden In absense of .. or ==> In absence of .. and assocaited ==> associated taget ==> target initate ==> initiate succeded ==> succeeded curremt ==> current udpated ==> updated Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup/cgroup-v1.c')
-rw-r--r--kernel/cgroup/cgroup-v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup-v1.c b/kernel/cgroup/cgroup-v1.c
index 391aa570369b..8190b6bfc978 100644
--- a/kernel/cgroup/cgroup-v1.c
+++ b/kernel/cgroup/cgroup-v1.c
@@ -1001,7 +1001,7 @@ static int check_cgroupfs_options(struct fs_context *fc)
ctx->subsys_mask &= enabled;
/*
- * In absense of 'none', 'name=' or subsystem name options,
+ * In absence of 'none', 'name=' and subsystem name options,
* let's default to 'all'.
*/
if (!ctx->subsys_mask && !ctx->none && !ctx->name)