2020-08-11 02:22:56

by Randy Dunlap

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

Drop duplicated words {the, and} in comments.

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Joseph Qi <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: [email protected]
---
fs/ocfs2/alloc.c | 2 +-
fs/ocfs2/localalloc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20200807.orig/fs/ocfs2/alloc.c
+++ linux-next-20200807/fs/ocfs2/alloc.c
@@ -6013,7 +6013,7 @@ int __ocfs2_flush_truncate_log(struct oc
goto out;
}

- /* Appending truncate log(TA) and and flushing truncate log(TF) are
+ /* Appending truncate log(TA) and flushing truncate log(TF) are
* two separated transactions. They can be both committed but not
* checkpointed. If crash occurs then, both two transaction will be
* replayed with several already released to global bitmap clusters.
--- linux-next-20200807.orig/fs/ocfs2/localalloc.c
+++ linux-next-20200807/fs/ocfs2/localalloc.c
@@ -677,7 +677,7 @@ int ocfs2_reserve_local_alloc_bits(struc
/*
* Under certain conditions, the window slide code
* might have reduced the number of bits available or
- * disabled the the local alloc entirely. Re-check
+ * disabled the local alloc entirely. Re-check
* here and return -ENOSPC if necessary.
*/
status = -ENOSPC;


2020-08-11 02:36:29

by Joseph Qi

[permalink] [raw]
Subject: Re: [Ocfs2-devel] [PATCH] fs: ocfs2: delete repeated words in comments



On 2020/8/11 10:18, Randy Dunlap wrote:
> Drop duplicated words {the, and} in comments.
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Mark Fasheh <[email protected]>
> Cc: Joel Becker <[email protected]>
> Cc: Joseph Qi <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: [email protected]

Acked-by: Joseph Qi <[email protected]>

> ---
> fs/ocfs2/alloc.c | 2 +-
> fs/ocfs2/localalloc.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> --- linux-next-20200807.orig/fs/ocfs2/alloc.c
> +++ linux-next-20200807/fs/ocfs2/alloc.c
> @@ -6013,7 +6013,7 @@ int __ocfs2_flush_truncate_log(struct oc
> goto out;
> }
>
> - /* Appending truncate log(TA) and and flushing truncate log(TF) are
> + /* Appending truncate log(TA) and flushing truncate log(TF) are
> * two separated transactions. They can be both committed but not
> * checkpointed. If crash occurs then, both two transaction will be
> * replayed with several already released to global bitmap clusters.
> --- linux-next-20200807.orig/fs/ocfs2/localalloc.c
> +++ linux-next-20200807/fs/ocfs2/localalloc.c
> @@ -677,7 +677,7 @@ int ocfs2_reserve_local_alloc_bits(struc
> /*
> * Under certain conditions, the window slide code
> * might have reduced the number of bits available or
> - * disabled the the local alloc entirely. Re-check
> + * disabled the local alloc entirely. Re-check
> * here and return -ENOSPC if necessary.
> */
> status = -ENOSPC;
>
> _______________________________________________
> Ocfs2-devel mailing list
> [email protected]
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
>