From bfc70fd04090db97dc39ca66af16439ecb9027f2 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 22 Jul 2012 23:46:21 +0400 Subject: [PATCH] --- yaml --- r: 312942 b: refs/heads/master c: 1e0ea0014479f066ba26f937e8740b8902229616 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/namei.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 703405cec1a8..9eb7bc745fe4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0bdaea9017b9d2b9996e153a71ee03555969b80e +refs/heads/master: 1e0ea0014479f066ba26f937e8740b8902229616 diff --git a/trunk/fs/namei.c b/trunk/fs/namei.c index 1b6474687698..c14dfac83c2b 100644 --- a/trunk/fs/namei.c +++ b/trunk/fs/namei.c @@ -1875,7 +1875,7 @@ struct dentry *kern_path_locked(const char *name, struct path *path) return ERR_PTR(-EINVAL); } mutex_lock_nested(&nd.path.dentry->d_inode->i_mutex, I_MUTEX_PARENT); - d = lookup_one_len(nd.last.name, nd.path.dentry, nd.last.len); + d = __lookup_hash(&nd.last, nd.path.dentry, 0); if (IS_ERR(d)) { mutex_unlock(&nd.path.dentry->d_inode->i_mutex); path_put(&nd.path);