[PATCH] xfs: Fix comment typo

Xin Gao posted 1 patch 3 years, 8 months ago
There is a newer version of this series
fs/xfs/xfs_dquot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] xfs: Fix comment typo
Posted by Xin Gao 3 years, 8 months ago
The double `the' is duplicated in line 552, remove one.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
 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
Re: [PATCH] xfs: Fix comment typo
Posted by Darrick J. Wong 3 years, 8 months ago
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 <gaoxin@cdjrlc.com>

Applied, thanks.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>

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