2022-09-08 13:30:29

by wangjianli

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

Delete the redundant word 'to'.

Signed-off-by: wangjianli <[email protected]>
---
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


2022-09-09 02:09:00

by Joseph Qi

[permalink] [raw]
Subject: Re: [PATCH] fs/ocfs2: fix repeated words in comments



On 9/8/22 9:00 PM, wangjianli wrote:
> Delete the redundant word 'to'.
>
> Signed-off-by: wangjianli <[email protected]>

Acked-by: Joseph Qi <[email protected]>
> ---
> 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.