X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fnamei.c;h=856b2f5da51d74928108430bf0f6b96d14d8394f;hb=58936d8d944e27b75c99b1c59cfeea3f253b03cb;hp=94b2f60aec22b8d25e697382182f7cebf047cc66;hpb=ef93127e4c7b4b8d46421045641048397eaac43d;p=linux-2.6-omap-h63xx.git diff --git a/fs/namei.c b/fs/namei.c index 94b2f60aec2..856b2f5da51 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -1350,17 +1349,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) {