projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
383d4e8
)
ovl_lookup_real(): use lookup_one_len_unlocked()
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 14 Apr 2016 23:20:29 +0000
(19:20 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 2 May 2016 23:47:24 +0000
(19:47 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/overlayfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/overlayfs/super.c
b/fs/overlayfs/super.c
index 29c4d32507256ff3faba6774b51f973155a2f6d5..8784691f0492997240a550420f48c6490e57dcf3 100644
(file)
--- a/
fs/overlayfs/super.c
+++ b/
fs/overlayfs/super.c
@@
-411,9
+411,7
@@
static inline struct dentry *ovl_lookup_real(struct dentry *dir,
{
struct dentry *dentry;
- inode_lock(dir->d_inode);
- dentry = lookup_one_len(name->name, dir, name->len);
- inode_unlock(dir->d_inode);
+ dentry = lookup_one_len_unlocked(name->name, dir, name->len);
if (IS_ERR(dentry)) {
if (PTR_ERR(dentry) == -ENOENT)