Skip to contentSkip to conversation

namei.c: remove utterly outdated comment

PATCH New Christoph Hellwig 1 participant 1 message Mar 7, 2007 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 namei.c: remove utterly outdated comment

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.

fs/namei.c +0 -11
Index: linux-2.6/fs/namei.c
===================================================================
@@ -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)
 {