2022-07-22 19:59:02

by Xin Gao

[permalink] [raw]
Subject: [PATCH] xfs: Fix comment typo

The double `that' is duplicated in line 575, remove one.

Signed-off-by: Xin Gao <[email protected]>
---
fs/xfs/xfs_trans.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c
index 82cf0189c0db..d055b0938eb9 100644
--- a/fs/xfs/xfs_trans.c
+++ b/fs/xfs/xfs_trans.c
@@ -572,7 +572,7 @@ xfs_trans_apply_sb_deltas(
* xfs_trans_unreserve_and_mod_sb() is called to release unused reservations and
* apply superblock counter changes to the in-core superblock. The
* t_res_fdblocks_delta and t_res_frextents_delta fields are explicitly NOT
- * applied to the in-core superblock. The idea is that that has already been
+ * applied to the in-core superblock. The idea is that has already been
* done.
*
* If we are not logging superblock counters, then the inode allocated/free and
--
2.30.2


2022-07-22 20:38:03

by Eric Sandeen

[permalink] [raw]
Subject: Re: [PATCH] xfs: Fix comment typo

On 7/22/22 2:43 PM, Xin Gao wrote:
> The double `that' is duplicated in line 575, remove one.
>
> Signed-off-by: Xin Gao <[email protected]>
> ---
> fs/xfs/xfs_trans.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c
> index 82cf0189c0db..d055b0938eb9 100644
> --- a/fs/xfs/xfs_trans.c
> +++ b/fs/xfs/xfs_trans.c
> @@ -572,7 +572,7 @@ xfs_trans_apply_sb_deltas(
> * xfs_trans_unreserve_and_mod_sb() is called to release unused reservations and
> * apply superblock counter changes to the in-core superblock. The
> * t_res_fdblocks_delta and t_res_frextents_delta fields are explicitly NOT
> - * applied to the in-core superblock. The idea is that that has already been
> + * applied to the in-core superblock. The idea is that has already been
> * done.
> *
> * If we are not logging superblock counters, then the inode allocated/free and

NAK

The comment is correct