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

fffsqian@163.com posted 1 patch 1 week, 5 days ago
There is a newer version of this series
fs/coredump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH v1] fs: fix two spelling mistakes in comments
Posted by fffsqian@163.com 1 week, 5 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>
---
 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

Re: [PATCH v1] fs: fix two spelling mistakes in comments
Posted by Jan Kara 1 week, 4 days ago
On Wed 27-05-26 11:31:02, fffsqian@163.com wrote:
> From: Qingshuang Fu <fuqingshuang@kylinos.cn>
> 
> Fix two spelling errors in fs/:
> - childen  →  children
> - postion → position
> 
> Signed-off-by: Qingshuang Fu <fuqingshuang@kylinos.cn>

Looks good. Feel free to add:

Reviewed-by: Jan Kara <jack@suse.cz>

								Honza

> ---
>  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
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR