lkml.org 
[lkml]   [2016]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] vfs: fix typo in link_path_walk()
Date
Comment documenting the path parsing in link_path_walk() has a typo, fixing
it.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---

Hello,

Noticed this typo while studying the code paths when sys_open is called.

Thanks,
Luis

fs/namei.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/namei.c b/fs/namei.c
index 32f9fe9..ade7667 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2064,7 +2064,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.6.4
\
 
 \ /
  Last update: 2016-07-04 19:21    [W:0.037 / U:18.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site