linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: Fix syntax errors in comments
@ 2022-06-05 12:55 Xiang wangx
  2022-06-06  7:53 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Xiang wangx @ 2022-06-05 12:55 UTC (permalink / raw)
  To: jack; +Cc: linux-ext4, linux-kernel, Xiang wangx

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

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] fs: Fix syntax errors in comments
  2022-06-05 12:55 [PATCH] fs: Fix syntax errors in comments Xiang wangx
@ 2022-06-06  7:53 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2022-06-06  7:53 UTC (permalink / raw)
  To: Xiang wangx; +Cc: jack, linux-ext4, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-06  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05 12:55 [PATCH] fs: Fix syntax errors in comments Xiang wangx
2022-06-06  7:53 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).