From: Christoph Hellwig Date: Tue, 8 May 2007 07:25:54 +0000 (-0700) Subject: namei.c: remove utterly outdated comment X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5843205b55d0ec9564289d4b41bab093ae15f51a;p=linux-beck.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 return __lookup_hash_kern(&this, base, NULL); } -/* - * 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) {