[PATCH] bcache: bset: Fix comment typos

Jules Maselbas posted 1 patch 3 years, 7 months ago
drivers/md/bcache/bset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] bcache: bset: Fix comment typos
Posted by Jules Maselbas 3 years, 7 months ago
Remove the redundant word `by`, correct the typo `creaated`.

CC: Kent Overstreet <kent.overstreet@gmail.com>
CC: linux-bcache@vger.kernel.org
Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
---
 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
Re: [PATCH] bcache: bset: Fix comment typos
Posted by Coly Li 3 years, 7 months ago

> 2022年8月26日 18:00,Jules Maselbas <jmaselbas@kalray.eu> 写道:
> 
> Remove the redundant word `by`, correct the typo `creaated`.
> 
> CC: Kent Overstreet <kent.overstreet@gmail.com>
> CC: linux-bcache@vger.kernel.org
> Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>

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
>