linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] namei.c: remove utterly outdated comment
@ 2007-03-07 15:21 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2007-03-07 15:21 UTC (permalink / raw)
  To: akpm; +Cc: linux-fsdevel

We don't have a routine called namei() anymore since at least 2.3.x,
and the comment is just totally out of sync with the current lookup
logic.


Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6/fs/namei.c
===================================================================
--- linux-2.6.orig/fs/namei.c	2007-02-25 11:54:58.000000000 +0100
+++ linux-2.6/fs/namei.c	2007-02-25 11:55:08.000000000 +0100
@@ -1310,17 +1310,6 @@
 	return ERR_PTR(-EACCES);
 }
 
-/*
- *	namei()
- *
- * is used by most simple commands to get the inode of a specified name.
- * Open, link etc use their own routines, but this is enough for things
- * like 'chmod' etc.
- *
- * namei exists in two versions: namei/lnamei. The only difference is
- * that namei follows links, while lnamei does not.
- * SMP-safe
- */
 int fastcall __user_walk_fd(int dfd, const char __user *name, unsigned flags,
 			    struct nameidata *nd)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-07 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-07 15:21 [PATCH] namei.c: remove utterly outdated comment Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).