Re: [PATCH] xfs: Fix typo 'the the' in comment

From: Darrick J. Wong
Date: Fri Jul 22 2022 - 13:55:00 EST


On Fri, Jul 22, 2022 at 06:06:54PM +0800, Slark Xiao wrote:
> Replace 'the the' with 'the' in the comment.
>
> Signed-off-by: Slark Xiao <slark_xiao@xxxxxxx>

Applied, though someone else already beat you to the second chunk.
Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>

--D

> ---
> fs/xfs/libxfs/xfs_alloc.c | 2 +-
> fs/xfs/xfs_dquot.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c
> index 41557c430cb6..e2bdf089c0a3 100644
> --- a/fs/xfs/libxfs/xfs_alloc.c
> +++ b/fs/xfs/libxfs/xfs_alloc.c
> @@ -84,7 +84,7 @@ xfs_prealloc_blocks(
> /*
> * The number of blocks per AG that we withhold from xfs_mod_fdblocks to
> * guarantee that we can refill the AGFL prior to allocating space in a nearly
> - * full AG. Although the the space described by the free space btrees, the
> + * full AG. Although the space described by the free space btrees, the
> * blocks used by the freesp btrees themselves, and the blocks owned by the
> * AGFL are counted in the ondisk fdblocks, it's a mistake to let the ondisk
> * free space in the AG drop so low that the free space btrees cannot refill an
> diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c
> index 5a6c3c3c4de2..8fb90da89787 100644
> --- a/fs/xfs/xfs_dquot.c
> +++ b/fs/xfs/xfs_dquot.c
> @@ -549,7 +549,7 @@ xfs_dquot_check_type(
> * at the same time. The non-user quota file can be switched between
> * group and project quota uses depending on the mount options, which
> * means that we can encounter the other type when we try to load quota
> - * defaults. Quotacheck will soon reset the the entire quota file
> + * defaults. Quotacheck will soon reset the entire quota file
> * (including the root dquot) anyway, but don't log scary corruption
> * reports to dmesg.
> */
> --
> 2.25.1
>