Re: ext4: fix spelling typos in ext4_mb_initialize_context

2020-08-05 Thread tytso
On Wed, Jul 15, 2020 at 11:00:44AM +0800, brookxu wrote:
> Fix spelling typos in ext4_mb_initialize_context.
> 
> Signed-off-by: Chunguang Xu 

Thanks, applied.

- Ted


Re: ext4: fix spelling typos in ext4_mb_initialize_context

2020-08-05 Thread Jan Kara
On Wed 15-07-20 11:00:44, brookxu wrote:
> Fix spelling typos in ext4_mb_initialize_context.
> 
> Signed-off-by: Chunguang Xu 

Looks good to me. You can add:

Reviewed-by: Jan Kara 

Honza

> ---
>  fs/ext4/mballoc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
> index c0a331e..6dc2c6c 100644
> --- a/fs/ext4/mballoc.c
> +++ b/fs/ext4/mballoc.c
> @@ -4399,7 +4399,7 @@ static void ext4_mb_group_or_file(struct 
> ext4_allocation_context *ac)
>  ac->ac_g_ex = ac->ac_o_ex;
>  ac->ac_flags = ar->flags;
>  
> -    /* we have to define context: we'll we work with a file or
> +    /* we have to define context: we'll work with a file or
>   * locality group. this is a policy, actually */
>  ext4_mb_group_or_file(ac);
>  
> -- 
> 1.8.3.1
> 
-- 
Jan Kara 
SUSE Labs, CR


ext4: fix spelling typos in ext4_mb_initialize_context

2020-07-14 Thread brookxu
Fix spelling typos in ext4_mb_initialize_context.

Signed-off-by: Chunguang Xu 
---
 fs/ext4/mballoc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index c0a331e..6dc2c6c 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4399,7 +4399,7 @@ static void ext4_mb_group_or_file(struct 
ext4_allocation_context *ac)
 ac->ac_g_ex = ac->ac_o_ex;
 ac->ac_flags = ar->flags;
 
-    /* we have to define context: we'll we work with a file or
+    /* we have to define context: we'll work with a file or
  * locality group. this is a policy, actually */
 ext4_mb_group_or_file(ac);
 
-- 
1.8.3.1