Re: [PATCH] fs: Fix syntax errors in comments

From: Jan Kara
Date: Mon Jun 06 2022 - 03:53:43 EST


On Sun 05-06-22 20:55:09, Xiang wangx wrote:
> Delete the redundant word 'not'.
>
> Signed-off-by: Xiang wangx <wangxiang@xxxxxxxxxx>

Thanks! I've added the patch to my tree.

Honza

> ---
> fs/ext2/inode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
> index 360ce3604a2d..e6b932219803 100644
> --- a/fs/ext2/inode.c
> +++ b/fs/ext2/inode.c
> @@ -1549,7 +1549,7 @@ static int __ext2_write_inode(struct inode *inode, int do_sync)
> if (IS_ERR(raw_inode))
> return -EIO;
>
> - /* For fields not not tracking in the in-memory inode,
> + /* For fields not tracking in the in-memory inode,
> * initialise them to zero for new inodes. */
> if (ei->i_state & EXT2_STATE_NEW)
> memset(raw_inode, 0, EXT2_SB(sb)->s_inode_size);
> --
> 2.36.1
>
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR