* [PATCH] xfs: Fix typo 'the the' in comment
@ 2022-07-22 10:06 Slark Xiao
2022-07-22 17:54 ` Darrick J. Wong
0 siblings, 1 reply; 3+ messages in thread
From: Slark Xiao @ 2022-07-22 10:06 UTC (permalink / raw)
To: djwong; +Cc: linux-kernel, linux-xfs, Slark Xiao
Replace 'the the' with 'the' in the comment.
Signed-off-by: Slark Xiao <slark_xiao@163.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] xfs: Fix typo 'the the' in comment
2022-07-22 10:06 [PATCH] xfs: Fix typo 'the the' in comment Slark Xiao
@ 2022-07-22 17:54 ` Darrick J. Wong
2022-07-25 1:42 ` Slark Xiao
0 siblings, 1 reply; 3+ messages in thread
From: Darrick J. Wong @ 2022-07-22 17:54 UTC (permalink / raw)
To: Slark Xiao; +Cc: linux-kernel, linux-xfs
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@163.com>
Applied, though someone else already beat you to the second chunk.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
--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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re:Re: [PATCH] xfs: Fix typo 'the the' in comment
2022-07-22 17:54 ` Darrick J. Wong
@ 2022-07-25 1:42 ` Slark Xiao
0 siblings, 0 replies; 3+ messages in thread
From: Slark Xiao @ 2022-07-25 1:42 UTC (permalink / raw)
To: Darrick J. Wong; +Cc: linux-kernel, linux-xfs
At 2022-07-23 01:54:52, "Darrick J. Wong" <djwong@kernel.org> 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 <slark_xiao@163.com>
>
>Applied, though someone else already beat you to the second chunk.
>Reviewed-by: Darrick J. Wong <djwong@kernel.org>
>
>--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
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-25 1:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 10:06 [PATCH] xfs: Fix typo 'the the' in comment Slark Xiao
2022-07-22 17:54 ` Darrick J. Wong
2022-07-25 1:42 ` Slark Xiao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).