summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-02-23 02:49:48 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-11 22:24:30 -0400
commit9e7543e9398ddd9679fbc81748a3e62eff4ab105 (patch)
treec69a274194578971ff634b1a44eb6af3bc4f83c7
parent74eb8cc5a5f8ec85b8f6b8daebbce05a27e77e2a (diff)
remove incorrect comment in lookup_one_len()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/namei.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 9b00dad73219..76fb76a0818b 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2137,9 +2137,7 @@ static struct dentry *lookup_hash(struct nameidata *nd)
* @len: maximum length @len should be interpreted to
*
* 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)
{