aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-05-08 03:25:54 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:02 -0400
commit5843205b55d0ec9564289d4b41bab093ae15f51a (patch)
treec8a1425db57354635137b33c5c44e33441bbbc53
parentacb0c854fa9483fa85e377b9f342352ea814a580 (diff)
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. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/namei.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 94b2f60aec22..aef62280b878 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1350,17 +1350,6 @@ struct dentry *lookup_one_len_kern(const char *name, struct dentry *base, int le
1350 return __lookup_hash_kern(&this, base, NULL); 1350 return __lookup_hash_kern(&this, base, NULL);
1351} 1351}
1352 1352
1353/*
1354 * namei()
1355 *
1356 * is used by most simple commands to get the inode of a specified name.
1357 * Open, link etc use their own routines, but this is enough for things
1358 * like 'chmod' etc.
1359 *
1360 * namei exists in two versions: namei/lnamei. The only difference is
1361 * that namei follows links, while lnamei does not.
1362 * SMP-safe
1363 */
1364int fastcall __user_walk_fd(int dfd, const char __user *name, unsigned flags, 1353int fastcall __user_walk_fd(int dfd, const char __user *name, unsigned flags,
1365 struct nameidata *nd) 1354 struct nameidata *nd)
1366{ 1355{