diff mbox series

fs: Fix syntax errors in comments

Message ID 20220605125509.14837-1-wangxiang@cdjrlc.com
State Not Applicable
Headers show
Series fs: Fix syntax errors in comments | expand

Commit Message

Xiang wangx June 5, 2022, 12:55 p.m. UTC
Delete the redundant word 'not'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 fs/ext2/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jan Kara June 6, 2022, 7:53 a.m. UTC | #1
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
>
diff mbox series

Patch

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);