[PATCH] fs: Fix typo in comment of link_path_walk()
From: I Hsin Cheng
Date: Sat May 10 2025 - 06:46:50 EST
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@xxxxxxxxx>
---
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