Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1436405

[PATCH] vfs: fix typo in link_path_walk()

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!easy.in-chemnitz.de!news2.arglkargh.de!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Luis de Bethencourt <luisbg@osg.samsung.com>
Newsgroups linux.kernel
Subject [PATCH] vfs: fix typo in link_path_walk()
Date Mon, 04 Jul 2016 18:50:02 +0200
Message-ID <rRfei-7YV-15@gated-at.bofh.it> (permalink)
X-Original-To linux-kernel@vger.kernel.org
X-Mailer git-send-email 2.6.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 31
Organization linux.* mail to news gateway
X-Original-Cc viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, Luis de Bethencourt <luisbg@osg.samsung.com>
X-Original-Date Mon, 4 Jul 2016 17:48:53 +0100
X-Original-Message-ID <1467650933-20089-1-git-send-email-luisbg@osg.samsung.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1436405

Show key headers only | View raw


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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] vfs: fix typo in link_path_walk() Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-07-04 18:50 +0200
  Re: [PATCH] vfs: fix typo in link_path_walk() Omar Sandoval <osandov@osandov.com> - 2016-07-04 22:20 +0200
  Re: [PATCH] vfs: fix typo in link_path_walk() Al Viro <viro@ZenIV.linux.org.uk> - 2016-07-04 23:00 +0200
    Re: [PATCH] vfs: fix typo in link_path_walk() Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-07-05 15:40 +0200

csiph-web