Message ID | 1485813986-58913-3-git-send-email-seth.forshee@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c index 526a2e193afe..e409ffba4a65 100644 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@ -475,9 +475,7 @@ static inline struct dentry *ovl_lookup_real(struct dentry *dir, { struct dentry *dentry; - mutex_lock(&dir->d_inode->i_mutex); - dentry = lookup_one_len(name->name, dir, name->len); - mutex_unlock(&dir->d_inode->i_mutex); + dentry = lookup_hash(name, dir); if (IS_ERR(dentry)) { if (PTR_ERR(dentry) == -ENOENT)