[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210317082031.11692-1-caoxiaofeng@yulong.com>
Date: Wed, 17 Mar 2021 16:20:31 +0800
From: Xiaofeng Cao <cxfcosmos@...il.com>
To: christian@...uner.io, akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, axboe@...nel.dk,
Xiaofeng Cao <caoxiaofeng@...ong.com>
Subject: [PATCH] kernel:fork: Fix typo issue
change 'ancestoral' to 'ancestral'
change 'reuseable' to 'reusable'
delete 'do' grammatically
Signed-off-by: Xiaofeng Cao <caoxiaofeng@...ong.com>
---
kernel/fork.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel/fork.c b/kernel/fork.c
index 0acc8ed1076b..ba52ead9d288 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1139,7 +1139,7 @@ void mmput_async(struct mm_struct *mm)
* invocations: in mmput() nobody alive left, in execve task is single
* threaded. sys_prctl(PR_SET_MM_MAP/EXE_FILE) also needs to set the
* mm->exe_file, but does so without using set_mm_exe_file() in order
- * to do avoid the need for any locks.
+ * to avoid the need for any locks.
*/
void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file)
{
@@ -1737,7 +1737,7 @@ static int pidfd_release(struct inode *inode, struct file *file)
* /proc/<pid>/status where Pid and NSpid are always shown relative to
* the pid namespace of the procfs instance. The difference becomes
* obvious when sending around a pidfd between pid namespaces from a
- * different branch of the tree, i.e. where no ancestoral relation is
+ * different branch of the tree, i.e. where no ancestral relation is
* present between the pid namespaces:
* - create two new pid namespaces ns1 and ns2 in the initial pid
* namespace (also take care to create new mount namespaces in the
@@ -2726,8 +2726,8 @@ static bool clone3_args_valid(struct kernel_clone_args *kargs)
return false;
/*
- * - make the CLONE_DETACHED bit reuseable for clone3
- * - make the CSIGNAL bits reuseable for clone3
+ * - make the CLONE_DETACHED bit reusable for clone3
+ * - make the CSIGNAL bits reusable for clone3
*/
if (kargs->flags & (CLONE_DETACHED | CSIGNAL))
return false;
--
2.25.1
Powered by blists - more mailing lists