2021-03-19 00:33:07

by Menglong Dong

[permalink] [raw]
Subject: [PATCH] fs/ext2/: fix misspellings using codespell tool

From: Liu xuzhi <[email protected]>

A typo is found out by codespell tool in 1107th lines of super.c:

$ codespell ./fs/ext2/
./super.c:1107: fileystem ==> filesystem

Fix a typo found by codespell.

Signed-off-by: Liu xuzhi <[email protected]>
---
fs/ext2/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index 6c4753277916..d2fd9707e953 100644
--- a/fs/ext2/super.c
+++ b/fs/ext2/super.c
@@ -1104,7 +1104,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
get_random_bytes(&sbi->s_next_generation, sizeof(u32));
spin_lock_init(&sbi->s_next_gen_lock);

- /* per fileystem reservation list head & lock */
+ /* per filesystem reservation list head & lock */
spin_lock_init(&sbi->s_rsv_window_lock);
sbi->s_rsv_window_root = RB_ROOT;
/*
--
2.25.1


2021-03-19 10:30:44

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH] fs/ext2/: fix misspellings using codespell tool

On Thu 18-03-21 17:31:31, [email protected] wrote:
> From: Liu xuzhi <[email protected]>
>
> A typo is found out by codespell tool in 1107th lines of super.c:
>
> $ codespell ./fs/ext2/
> ./super.c:1107: fileystem ==> filesystem
>
> Fix a typo found by codespell.
>
> Signed-off-by: Liu xuzhi <[email protected]>

Thanks. I've merged the patch to my tree.

Honza

> ---
> fs/ext2/super.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ext2/super.c b/fs/ext2/super.c
> index 6c4753277916..d2fd9707e953 100644
> --- a/fs/ext2/super.c
> +++ b/fs/ext2/super.c
> @@ -1104,7 +1104,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
> get_random_bytes(&sbi->s_next_generation, sizeof(u32));
> spin_lock_init(&sbi->s_next_gen_lock);
>
> - /* per fileystem reservation list head & lock */
> + /* per filesystem reservation list head & lock */
> spin_lock_init(&sbi->s_rsv_window_lock);
> sbi->s_rsv_window_root = RB_ROOT;
> /*
> --
> 2.25.1
>
--
Jan Kara <[email protected]>
SUSE Labs, CR