From: Christoph Hellwig 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 --- fs/namei.c | 11 ----------- 1 files changed, 11 deletions(-) diff -puN fs/namei.c~nameic-remove-utterly-outdated-comment fs/namei.c --- a/fs/namei.c~nameic-remove-utterly-outdated-comment +++ a/fs/namei.c @@ -1318,17 +1318,6 @@ access: 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) { _