[PATCH] fs/ocfs2: fix repeated words in comments

wangjianli posted 1 patch 3 years, 6 months ago
fs/ocfs2/refcounttree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] fs/ocfs2: fix repeated words in comments
Posted by wangjianli 3 years, 6 months ago
Delete the redundant word 'to'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 fs/ocfs2/refcounttree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c
index b2ebaec86ddc..365025ab2726 100644
--- a/fs/ocfs2/refcounttree.c
+++ b/fs/ocfs2/refcounttree.c
@@ -2614,7 +2614,7 @@ static inline unsigned int ocfs2_cow_align_length(struct super_block *sb,
 }
 
 /*
- * Calculate out the start and number of virtual clusters we need to to CoW.
+ * Calculate out the start and number of virtual clusters we need to CoW.
  *
  * cpos is vitual start cluster position we want to do CoW in a
  * file and write_len is the cluster length.
-- 
2.36.1
Re: [PATCH] fs/ocfs2: fix repeated words in comments
Posted by Joseph Qi 3 years, 6 months ago

On 9/8/22 9:00 PM, wangjianli wrote:
> Delete the redundant word 'to'.
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>

Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
> ---
>  fs/ocfs2/refcounttree.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c
> index b2ebaec86ddc..365025ab2726 100644
> --- a/fs/ocfs2/refcounttree.c
> +++ b/fs/ocfs2/refcounttree.c
> @@ -2614,7 +2614,7 @@ static inline unsigned int ocfs2_cow_align_length(struct super_block *sb,
>  }
>  
>  /*
> - * Calculate out the start and number of virtual clusters we need to to CoW.
> + * Calculate out the start and number of virtual clusters we need to CoW.
>   *
>   * cpos is vitual start cluster position we want to do CoW in a
>   * file and write_len is the cluster length.