[PATCH] xfs: Fix comment typo

Xin Gao posted 1 patch 3 years, 8 months ago
fs/xfs/xfs_trans.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] xfs: Fix comment typo
Posted by Xin Gao 3 years, 8 months ago
The double `that' is duplicated in line 575, remove one.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
 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
Re: [PATCH] xfs: Fix comment typo
Posted by Eric Sandeen 3 years, 8 months ago
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 <gaoxin@cdjrlc.com>
> ---
>  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