Re: [PATCH] xfs: Fix comment typo

From: Eric Sandeen
Date: Fri Jul 22 2022 - 16:20:51 EST


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@xxxxxxxxxx>
> ---
> 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