[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250510104632.480749-1-richard120310@gmail.com>
Date: Sat, 10 May 2025 18:46:32 +0800
From: I Hsin Cheng <richard120310@...il.com>
To: viro@...iv.linux.org.uk
Cc: brauner@...nel.org,
jack@...e.cz,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
skhan@...uxfoundation.org,
linux-kernel-mentees@...ts.linux.dev,
I Hsin Cheng <richard120310@...il.com>
Subject: [PATCH] fs: Fix typo in comment of link_path_walk()
Fix "NUL" to "NULL".
Fixes: 200e9ef7ab51 ("vfs: split up name hashing in link_path_walk() into helper function")
Signed-off-by: I Hsin Cheng <richard120310@...il.com>
---
fs/namei.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/namei.c b/fs/namei.c
index 84a0e0b0111c..a2526e2103fe 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2480,7 +2480,7 @@ static int link_path_walk(const char *name, struct nameidata *nd)
if (!*name)
goto OK;
/*
- * If it wasn't NUL, we know it was '/'. Skip that
+ * If it wasn't NULL, we know it was '/'. Skip that
* slash, and continue until no more slashes.
*/
do {
--
2.43.0
Powered by blists - more mailing lists