2022-07-22 10:20:49

by Slark Xiao

[permalink] [raw]
Subject: [PATCH] xfs: Fix typo 'the the' in comment

Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <[email protected]>
---
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


2022-07-22 17:56:56

by Darrick J. Wong

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

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 <[email protected]>

Applied, though someone else already beat you to the second chunk.
Reviewed-by: Darrick J. Wong <[email protected]>

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

2022-07-25 01:47:13

by Slark Xiao

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

















At 2022-07-23 01:54:52, "Darrick J. Wong" <[email protected]> wrote:
>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 <[email protected]>
>
>Applied, though someone else already beat you to the second chunk.
>Reviewed-by: Darrick J. Wong <[email protected]>
>
>--D
Thanks!
>
>> ---
>> 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
>>