public inbox for linux-kernel-mentees@lists.linux-foundation.org
 help / color / mirror / Atom feed
* [PATCH] fs: Fix typo in comment of link_path_walk()
@ 2025-05-10 10:46 I Hsin Cheng
  2025-05-10 12:08 ` Al Viro
  0 siblings, 1 reply; 5+ messages in thread
From: I Hsin Cheng @ 2025-05-10 10:46 UTC (permalink / raw)
  To: viro
  Cc: brauner, jack, linux-fsdevel, linux-kernel, skhan,
	linux-kernel-mentees, I Hsin Cheng

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@gmail.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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-10 21:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-10 10:46 [PATCH] fs: Fix typo in comment of link_path_walk() I Hsin Cheng
2025-05-10 12:08 ` Al Viro
2025-05-10 12:44   ` I Hsin Cheng
2025-05-10 17:48     ` Al Viro
2025-05-10 21:11   ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox