lkml.org 
[lkml]   [2022]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fs: Fix syntax errors in comments
On Sun 05-06-22 20:55:09, Xiang wangx wrote:
> Delete the redundant word 'not'.
>
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>

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@suse.com>
SUSE Labs, CR

\
 
 \ /
  Last update: 2022-06-06 09:57    [W:0.177 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site