2022-07-22 03:16:23

by Xin Gao

[permalink] [raw]
Subject: [PATCH] xfs: Fix comment typo

The double `the' is duplicated in line 552, remove one.

Signed-off-by: Xin Gao <[email protected]>
---
fs/xfs/xfs_dquot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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


2022-07-22 03:28:59

by Darrick J. Wong

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

On Fri, Jul 22, 2022 at 10:26:26AM +0800, Xin Gao wrote:
> The double `the' is duplicated in line 552, remove one.
>
> Signed-off-by: Xin Gao <[email protected]>

Applied, thanks.
Reviewed-by: Darrick J. Wong <[email protected]>

--D

> ---
> fs/xfs/xfs_dquot.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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.30.2
>