Re: [PATCH] fs: fix typo in do_open() comment

From: Jan Kara

Date: Tue Nov 03 2026 - 07:47:03 EST


On Tue 27-10-26 20:26:47, Luo Qiu wrote:
> Fix "acess" -> "access"
>
> Fixes: 161ce1e692d0 ("fs: avoid spurious dentry ref/unref cycle on open")
>
> Signed-off-by: Luo Qiu <luoqiu@xxxxxxxxxxxxxxx>

Sure. Feel free to add:

Reviewed-by: Jan Kara <jack@xxxxxxx>

Honza

> ---
> fs/namei.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/namei.c b/fs/namei.c
> index 96c65940391a..9bf97d5ce37e 100644
> --- a/fs/namei.c
> +++ b/fs/namei.c
> @@ -4835,7 +4835,7 @@ static int do_open(struct nameidata *nd,
> /*
> * A dedicated reference is needed because after the call to
> * vfs_open_consume() we no longer own the reference in nd->path.mnt
> - * while we need to undo write acess below.
> + * while we need to undo write access below.
> */
> mnt = mntget(nd->path.mnt);
> do_truncate = true;
> --
> 2.56.0
>
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR