linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel:fork: Fix typo issue
@ 2021-03-17  8:20 Xiaofeng Cao
  2021-03-17 17:48 ` Christian Brauner
  0 siblings, 1 reply; 2+ messages in thread
From: Xiaofeng Cao @ 2021-03-17  8:20 UTC (permalink / raw)
  To: christian, akpm; +Cc: linux-kernel, axboe, Xiaofeng Cao

change 'ancestoral' to 'ancestral'
change 'reuseable' to 'reusable'
delete 'do' grammatically

Signed-off-by: Xiaofeng Cao <caoxiaofeng@yulong.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernel:fork: Fix typo issue
  2021-03-17  8:20 [PATCH] kernel:fork: Fix typo issue Xiaofeng Cao
@ 2021-03-17 17:48 ` Christian Brauner
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2021-03-17 17:48 UTC (permalink / raw)
  To: Xiaofeng Cao; +Cc: christian, akpm, linux-kernel, axboe, Xiaofeng Cao

On Wed, Mar 17, 2021 at 04:20:31PM +0800, Xiaofeng Cao wrote:
> change 'ancestoral' to 'ancestral'
> change 'reuseable' to 'reusable'
> delete 'do' grammatically
> 
> Signed-off-by: Xiaofeng Cao <caoxiaofeng@yulong.com>
> ---

Thanks!
Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-17 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-17  8:20 [PATCH] kernel:fork: Fix typo issue Xiaofeng Cao
2021-03-17 17:48 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).