aboutsummaryrefslogtreecommitdiffstats
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)
2137 * @len: maximum length @len should be interpreted to 2137 * @len: maximum length @len should be interpreted to
2138 * 2138 *
2139 * Note that this routine is purely a helper for filesystem usage and should 2139 * Note that this routine is purely a helper for filesystem usage and should
2140 * not be called by generic code. Also note that by using this function the 2140 * not be called by generic code.
2141 * nameidata argument is passed to the filesystem methods and a filesystem
2142 * using this helper needs to be prepared for that.
2143 */ 2141 */
2144struct dentry *lookup_one_len(const char *name, struct dentry *base, int len) 2142struct dentry *lookup_one_len(const char *name, struct dentry *base, int len)
2145{ 2143{