[PATCH v2] fs: fix two spelling mistakes in comments

fffsqian@163.com posted 1 patch 1 week, 3 days ago
fs/coredump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH v2] fs: fix two spelling mistakes in comments
Posted by fffsqian@163.com 1 week, 3 days ago
From: Qingshuang Fu <fuqingshuang@kylinos.cn>

Fix two spelling errors in fs/:
- childen  →  children
- postion → position

Signed-off-by: Qingshuang Fu <fuqingshuang@kylinos.cn>
Reviewed-by: Jan Kara <jack@suse.cz>
---
 fs/coredump.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/coredump.c b/fs/coredump.c
index bb6fdb1f458e..f82f6dc4f773 100644
--- a/fs/coredump.c
+++ b/fs/coredump.c
@@ -637,7 +637,7 @@ static int umh_coredump_setup(struct subprocess_info *info, struct cred *new)
 		pidfs_coredump(cp);
 
 		/*
-		 * Usermode helpers are childen of either
+		 * Usermode helpers are children of either
 		 * system_dfl_wq or of kthreadd. So we know that
 		 * we're starting off with a clean file descriptor
 		 * table. So we should always be able to use
@@ -1053,7 +1053,7 @@ static bool coredump_write(struct core_name *cn,
 	cn->core_dumped = binfmt->core_dump(cprm);
 	/*
 	 * Ensures that file size is big enough to contain the current
-	 * file postion. This prevents gdb from complaining about
+	 * file position. This prevents gdb from complaining about
 	 * a truncated file if the last "write" to the file was
 	 * dump_skip.
 	 */

base-commit: eb3f4b7426cfd2b79d65b7d37155480b32259a11
-- 
2.25.1