projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03ece5
)
debugfs_lookup(): switch to lookup_one_len_unlocked()
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 8 Mar 2018 16:01:22 +0000
(11:01 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 29 Mar 2018 19:07:47 +0000
(15:07 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/debugfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/debugfs/inode.c
b/fs/debugfs/inode.c
index 63a998c3f2522d2d727a52bf1a8a9aae4a7c70cd..13b01351dd1cb3f8381dbddd2ee70717792b9ac7 100644
(file)
--- a/
fs/debugfs/inode.c
+++ b/
fs/debugfs/inode.c
@@
-270,10
+270,7
@@
struct dentry *debugfs_lookup(const char *name, struct dentry *parent)
if (!parent)
parent = debugfs_mount->mnt_root;
- inode_lock(d_inode(parent));
- dentry = lookup_one_len(name, parent, strlen(name));
- inode_unlock(d_inode(parent));
-
+ dentry = lookup_one_len_unlocked(name, parent, strlen(name));
if (IS_ERR(dentry))
return NULL;
if (!d_really_is_positive(dentry)) {