2022-08-26 10:06:33

by Jules Maselbas

[permalink] [raw]
Subject: [PATCH] bcache: bset: Fix comment typos

Remove the redundant word `by`, correct the typo `creaated`.

CC: Kent Overstreet <[email protected]>
CC: [email protected]
Signed-off-by: Jules Maselbas <[email protected]>
---
drivers/md/bcache/bset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c
index 94d38e8a59b3..2bba4d6aaaa2 100644
--- a/drivers/md/bcache/bset.c
+++ b/drivers/md/bcache/bset.c
@@ -1264,7 +1264,7 @@ static void __btree_sort(struct btree_keys *b, struct btree_iter *iter,
*
* Don't worry event 'out' is allocated from mempool, it can
* still be swapped here. Because state->pool is a page mempool
- * creaated by by mempool_init_page_pool(), which allocates
+ * created by mempool_init_page_pool(), which allocates
* pages by alloc_pages() indeed.
*/

--
2.17.1


2022-08-31 15:00:53

by Coly Li

[permalink] [raw]
Subject: Re: [PATCH] bcache: bset: Fix comment typos



> 2022年8月26日 18:00,Jules Maselbas <[email protected]> 写道:
>
> Remove the redundant word `by`, correct the typo `creaated`.
>
> CC: Kent Overstreet <[email protected]>
> CC: [email protected]
> Signed-off-by: Jules Maselbas <[email protected]>

Added to my for-next queue. Thanks.

Coly Li

> ---
> drivers/md/bcache/bset.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c
> index 94d38e8a59b3..2bba4d6aaaa2 100644
> --- a/drivers/md/bcache/bset.c
> +++ b/drivers/md/bcache/bset.c
> @@ -1264,7 +1264,7 @@ static void __btree_sort(struct btree_keys *b, struct btree_iter *iter,
> *
> * Don't worry event 'out' is allocated from mempool, it can
> * still be swapped here. Because state->pool is a page mempool
> - * creaated by by mempool_init_page_pool(), which allocates
> + * created by mempool_init_page_pool(), which allocates
> * pages by alloc_pages() indeed.
> */
>
> --
> 2.17.1
>