2022-08-26 10:34:18

by Jules Maselbas

[permalink] [raw]
Subject: [PATCH] fs/afs: Fix repeated word in comments

Remove redundant word `the`.

CC: [email protected]
Signed-off-by: Jules Maselbas <[email protected]>
---
fs/afs/flock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/afs/flock.c b/fs/afs/flock.c
index c4210a3964d8..801fe305878f 100644
--- a/fs/afs/flock.c
+++ b/fs/afs/flock.c
@@ -152,7 +152,7 @@ static void afs_next_locker(struct afs_vnode *vnode, int error)
}

/*
- * Kill off all waiters in the the pending lock queue due to the vnode being
+ * Kill off all waiters in the pending lock queue due to the vnode being
* deleted.
*/
static void afs_kill_lockers_enoent(struct afs_vnode *vnode)
--
2.17.1


2022-08-29 14:25:45

by Christian Brauner

[permalink] [raw]
Subject: Re: [PATCH] fs/afs: Fix repeated word in comments

[Cc afs development list + maintainer]

On Fri, Aug 26, 2022 at 12:00:36PM +0200, Jules Maselbas wrote:
> Remove redundant word `the`.
>
> CC: [email protected]
> Signed-off-by: Jules Maselbas <[email protected]>
> ---
> fs/afs/flock.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/afs/flock.c b/fs/afs/flock.c
> index c4210a3964d8..801fe305878f 100644
> --- a/fs/afs/flock.c
> +++ b/fs/afs/flock.c
> @@ -152,7 +152,7 @@ static void afs_next_locker(struct afs_vnode *vnode, int error)
> }
>
> /*
> - * Kill off all waiters in the the pending lock queue due to the vnode being
> + * Kill off all waiters in the pending lock queue due to the vnode being
> * deleted.
> */
> static void afs_kill_lockers_enoent(struct afs_vnode *vnode)
> --
> 2.17.1
>