Commit b9e1d435 authored by Al Viro's avatar Al Viro

ovl_lookup_real(): use lookup_one_len_unlocked()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 383d4e8a
...@@ -411,9 +411,7 @@ static inline struct dentry *ovl_lookup_real(struct dentry *dir, ...@@ -411,9 +411,7 @@ static inline struct dentry *ovl_lookup_real(struct dentry *dir,
{ {
struct dentry *dentry; struct dentry *dentry;
inode_lock(dir->d_inode); dentry = lookup_one_len_unlocked(name->name, dir, name->len);
dentry = lookup_one_len(name->name, dir, name->len);
inode_unlock(dir->d_inode);
if (IS_ERR(dentry)) { if (IS_ERR(dentry)) {
if (PTR_ERR(dentry) == -ENOENT) if (PTR_ERR(dentry) == -ENOENT)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment