瀏覽代碼

remove incorrect comment in lookup_one_len()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 11 年之前
父節點
當前提交
9e7543e939
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      fs/namei.c

+ 1 - 3
fs/namei.c

@@ -2137,9 +2137,7 @@ static struct dentry *lookup_hash(struct nameidata *nd)
  * @len:	maximum length @len should be interpreted to
  * @len:	maximum length @len should be interpreted to
  *
  *
  * Note that this routine is purely a helper for filesystem usage and should
  * Note that this routine is purely a helper for filesystem usage and should
- * not be called by generic code.  Also note that by using this function the
- * nameidata argument is passed to the filesystem methods and a filesystem
- * using this helper needs to be prepared for that.
+ * not be called by generic code.
  */
  */
 struct dentry *lookup_one_len(const char *name, struct dentry *base, int len)
 struct dentry *lookup_one_len(const char *name, struct dentry *base, int len)
 {
 {