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

From: Luo Qiu

Date: Tue Oct 27 2026 - 08:35:50 EST


Fix "acess" -> "access"

Fixes: 161ce1e692d0 ("fs: avoid spurious dentry ref/unref cycle on open")

Signed-off-by: Luo Qiu <luoqiu@xxxxxxxxxxxxxxx>
---
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