2023-07-20 16:34:22

by pangzizhen001

[permalink] [raw]
Subject: [PATCH] fs/xfs: Fix typos in comments

Delete duplicate word "the"

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

diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c
index 451942fb38ec..66b311ccc4f9 100644
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@ -478,7 +478,7 @@ xfs_discard_folio(
folio, ip->i_ino, pos);

/*
- * The end of the punch range is always the offset of the the first
+ * The end of the punch range is always the offset of the first
* byte of the next folio. Hence the end offset is only dependent
on the
* folio itself and not the start offset that is passed in.
*/


2023-08-01 16:02:16

by Darrick J. Wong

[permalink] [raw]
Subject: Re: [PATCH] fs/xfs: Fix typos in comments

On Thu, Jul 20, 2023 at 11:51:06PM +0800, [email protected] wrote:
> Delete duplicate word "the"
>
> Signed-off-by: Zizhen Pang <[email protected]>

Looks good,
Reviewed-by: Darrick J. Wong <[email protected]>

--D

> ---
> fs/xfs/xfs_aops.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c
> index 451942fb38ec..66b311ccc4f9 100644
> --- a/fs/xfs/xfs_aops.c
> +++ b/fs/xfs/xfs_aops.c
> @@ -478,7 +478,7 @@ xfs_discard_folio(
> folio, ip->i_ino, pos);
>
> /*
> - * The end of the punch range is always the offset of the the first
> + * The end of the punch range is always the offset of the first
> * byte of the next folio. Hence the end offset is only dependent on
> the
> * folio itself and not the start offset that is passed in.
> */